A few fixes to the documentation
This commit is contained in:
parent
8c32de33c6
commit
fae0cb2c99
|
@ -72,7 +72,7 @@ each element in the sequence.
|
|||
|
||||
@defthing[empty-seqn sequence?]{ A sequence with no elements. }
|
||||
|
||||
@defthing[(seqn->list [s sequence?]) list?]{ Returns a list whose
|
||||
@defproc[(seqn->list [s sequence?]) list?]{ Returns a list whose
|
||||
elements are the elements of the @scheme[s], which must be a one-valued sequence.
|
||||
If @scheme[s] is infinite, this function does not terminate. }
|
||||
|
||||
|
|
|
@ -67,17 +67,7 @@ slot is position @racket[0], and the last slot is one less than
|
|||
void?]{
|
||||
|
||||
Updates the slot @racket[pos] of @racket[vec] to contain @racket[v].}
|
||||
|
||||
@defproc[(vector-set*! [vec (and/c vector? (not/c immutable?))]
|
||||
[pos exact-nonnegative-integer?]
|
||||
[v any/c]
|
||||
...
|
||||
...)
|
||||
void?]{
|
||||
|
||||
Updates each slot @racket[pos] of @racket[vec] to contain each @racket[v].
|
||||
The update takes place from the left so later updates overwrite earlier updates.}
|
||||
|
||||
|
||||
@defproc[(vector->list [vec vector?]) list?]{
|
||||
|
||||
Returns a list with the same length and elements as @racket[vec].}
|
||||
|
@ -160,6 +150,16 @@ _i)] is the value produced by @racket[(proc _i)].
|
|||
@(interaction-eval #:eval vec-eval
|
||||
(require racket/vector))
|
||||
|
||||
@defproc[(vector-set*! [vec (and/c vector? (not/c immutable?))]
|
||||
[pos exact-nonnegative-integer?]
|
||||
[v any/c]
|
||||
...
|
||||
...)
|
||||
void?]{
|
||||
|
||||
Updates each slot @racket[pos] of @racket[vec] to contain each @racket[v].
|
||||
The update takes place from the left so later updates overwrite earlier updates.}
|
||||
|
||||
@defproc[(vector-map [proc procedure?] [vec vector?] ...+)
|
||||
vector?]{
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user