1list ( obj -- cons )
Factor handbook » The language » Collections » Lists » Constructing strict lists

Prev:sequence>list ( sequence -- list )
Next:2list ( a b -- cons )


Vocabulary
lists

Inputs
objan object


Outputs
consa list


Word description
Create a list with 1 element.

See also
2list, 3list

Definition

: 1list ( obj -- cons ) nil cons ; inline