diff --git a/collects/scribblings/reference/sequences.scrbl b/collects/scribblings/reference/sequences.scrbl index fadbd178dd..f194cfef5a 100644 --- a/collects/scribblings/reference/sequences.scrbl +++ b/collects/scribblings/reference/sequences.scrbl @@ -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. } diff --git a/collects/scribblings/reference/vectors.scrbl b/collects/scribblings/reference/vectors.scrbl index 1ef0308d35..212fa523f0 100644 --- a/collects/scribblings/reference/vectors.scrbl +++ b/collects/scribblings/reference/vectors.scrbl @@ -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?]{