added vector->list
This commit is contained in:
parent
e777796a74
commit
1711ab96ba
|
@ -83,20 +83,14 @@
|
||||||
(set-posn-y! (posn number -> void) "Updates the x component of a posn."))
|
(set-posn-y! (posn number -> void) "Updates the x component of a posn."))
|
||||||
|
|
||||||
("Vectors"
|
("Vectors"
|
||||||
(vector (X ... -> (vector X ...))
|
(vector (X ... -> (vector X ...)) "Constructs a vector.")
|
||||||
"Constructs a vector.")
|
(make-vector (number X -> (vectorof X)) "Constructs a vector.")
|
||||||
(make-vector (number X -> (vectorof X))
|
(build-vector (nat (nat -> X) -> (vectorof X)) "Constructs a vector.")
|
||||||
"Constructs a vector.")
|
(vector-ref ((vector X) nat -> X) "Extracts an element from a vector.")
|
||||||
(build-vector (nat (nat -> X) -> (vectorof X))
|
(vector-length ((vector X) -> nat) "Determines the length of a vector.")
|
||||||
"Constructs a vector.")
|
(vector-set! ((vectorof X) nat X -> void) "Updates a vector.")
|
||||||
(vector-ref ((vector X) nat -> X)
|
(vector->list ((vectorof X) -> (listof X)) "creates a list of values from the vector of values.")
|
||||||
"Extracts an element from a vector.")
|
(vector? (any -> boolean) "Determines if a value is a vector."))
|
||||||
(vector-length ((vector X) -> nat)
|
|
||||||
"Determines the length of a vector.")
|
|
||||||
(vector-set! ((vectorof X) nat X -> void)
|
|
||||||
"Updates a vector.")
|
|
||||||
(vector? (any -> boolean)
|
|
||||||
"Determines if a value is a vector."))
|
|
||||||
|
|
||||||
("Boxes"
|
("Boxes"
|
||||||
(box (any -> box)
|
(box (any -> box)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user