reverse! ( seq -- seq )
Factor handbook » The language » Collections » Sequence operations » Destructive sequence operations

Prev:append! ( seq1 seq2 -- seq1 )
Next:move ( to from seq -- )


Vocabulary
sequences

Inputs
seqa mutable sequence


Outputs
seqa mutable sequence


Word description
Reverses a sequence in-place and outputs that sequence.

Side effects
Modifies seq

See also
reverse, <reversed>

Definition