2list ( a b -- cons )
Factor handbook » The language » Collections » Lists » Constructing strict lists

Prev:1list ( obj -- cons )
Next:3list ( a b c -- cons )


Vocabulary
lists

Inputs
aan object
ban object


Outputs
consa list


Word description
Create a list with 2 elements.

See also
1list, 3list

Definition

: 2list ( a b -- cons ) 1list cons ; inline