>vector ( seq -- vector )
Factor documentation > Factor handbook > The language > Collections > Vectors
Prev:vector? ( object -- ? )
Next:<vector> ( n -- vector )


Vocabulary
vectors

Inputs and outputs
seqa sequence
vectora 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 ;