Handbook
Glossary
2sequence ( obj1 obj2 exemplar -- seq )
Vocabulary
sequences
Inputs
obj1
an
object
obj2
an
object
exemplar
a
sequence
Outputs
seq
a
sequence
Word description
Creates a two-element sequence of the same type as
exemplar
.
Definition
USING:
kernel
sequences.private
;
IN:
sequences
:
2sequence
( obj1 obj2 exemplar -- seq )
2
swap
[
(2sequence)
]
new-like
;
inline