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