Handbook
Glossary
uncons ( cons -- car cdr )
Factor handbook
»
The language
»
Collections
»
Lists
»
Manipulating lists
Next:
unswons ( cons -- cdr car )
Vocabulary
lists
Inputs
cons
a
list
Outputs
car
the head of the list
cdr
the tail of the list
Word description
Put the head and tail of the list on the stack.
See also
cons
,
swons
,
unswons
Definition
USING:
kernel
;
IN:
lists
:
uncons
( cons -- car cdr )
[
car
]
[
cdr
]
bi
;
inline