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