reverse ( seq -- newseq )
Factor handbook > The language > Collections > Sequence operations > Reshaping sequences

Prev:<repetition> ( len elt -- repetition )
Next:reversed


Vocabulary
sequences

Inputs and outputs
seqa sequence
newseqa new sequence


Word description
Outputs a new sequence having the same elements as seq but in reverse order.

See also
<reversed>, reverse!

Definition