Factor Documentation
|
Home
|
Glossary
|
Search
factorcode.org
>vector ( seq -- vector )
Factor documentation
>
Factor handbook
>
The language
>
Collections
>
Vectors
Prev:
vector? ( object -- ? )
Next:
<vector> ( n -- vector )
Vocabulary
vectors
Inputs and outputs
seq
a sequence
vector
a
vector
Word description
Outputs a freshly-allocated vector with the same elements as a given sequence.
Definition
USING:
sequences
;
IN:
vectors
:
>vector
( seq -- vector )
V{
}
clone-like
;