Treating sequences as stacks
Factor handbook » The language » Collections » Sequence operations

Prev:Destructive sequence operations
Next:Sorting sequences


The classical stack operations, modifying a sequence in place:
push ( elt seq -- )

push-all ( src dst -- )

pop ( seq -- elt )

pop* ( seq -- )


See also
empty?