uncons ( cons -- car cdr )
Factor handbook » The language » Collections » Lists » Manipulating lists

Next:unswons ( cons -- cdr car )


Vocabulary
lists

Inputs
consa list


Outputs
carthe head of the list
cdrthe tail of the list


Word description
Put the head and tail of the list on the stack.

See also
cons, swons, unswons

Definition


: uncons ( cons -- car cdr ) [ car ] [ cdr ] bi ; inline