move vector-empty? docs to the right section

This commit is contained in:
Matthew Flatt 2019-08-15 13:16:25 +02:00
parent 001abc5b55
commit 9ba8c7658c

View File

@ -30,12 +30,6 @@ a number between the @litchar{#} and
Returns @racket[#t] if @racket[v] is a vector, @racket[#f] otherwise.}
@defproc[(vector-empty? [v vector?]) boolean?]{
Returns @racket[#t] if @racket[v] is empty (i.e. its length is 0), @racket[#f] otherwise.
@history[#:added "7.4.0.4"]}
@defproc[(make-vector [size exact-nonnegative-integer?]
[v any/c 0]) vector?]{
@ -187,6 +181,12 @@ _i)] is the value produced by @racket[(proc _i)].
@examples[#:hidden #:eval vec-eval
(require racket/vector)]
@defproc[(vector-empty? [v vector?]) boolean?]{
Returns @racket[#t] if @racket[v] is empty (i.e. its length is 0), @racket[#f] otherwise.
@history[#:added "7.4.0.4"]}
@defproc[(vector-set*! [vec (and/c vector? (not/c immutable?))]
[pos exact-nonnegative-integer?]
[v any/c]