>array ( seq -- array )
Factor documentation > Factor handbook > The language > Collections > Arrays
Prev:array? ( object -- ? )
Next:<array> ( n elt -- array )


Vocabulary
arrays

Inputs and outputs
seqa sequence
arrayan array


Word description
Outputs a freshly-allocated array with the same elements as a given sequence.

Definition
USING: sequences ;

IN: arrays

: >array ( seq -- array ) { } clone-like ;