Handbook
Glossary
cons ( car cdr -- cons-state )
Factor handbook
»
The language
»
Collections
»
Lists
»
Constructing strict lists
Next:
swons ( cdr car -- cons )
Vocabulary
lists
Inputs
car
the head of the list cell
cdr
the tail of the list cell
Outputs
cons-state
a
list
Word description
Constructs a cons cell.
See also
swons
,
uncons
,
unswons
Definition
USING:
kernel
;
IN:
lists
:
cons
( car cdr -- cons-state )
\
cons-state
boa
;
inline