Handbook
Glossary
glue ( seq1 seq2 seq3 -- newseq )
Factor handbook
»
The language
»
Collections
»
Sequence operations
»
Appending sequences
Prev:
surround-as ( seq1 seq2 seq3 exemplar -- newseq )
Next:
glue-as ( seq1 seq2 seq3 exemplar -- newseq )
Vocabulary
sequences
Inputs
seq1
a
sequence
seq2
a
sequence
seq3
a
sequence
Outputs
newseq
a
sequence
Word description
Outputs a new sequence with
seq3
inserted between
seq1
and
seq2
.
Examples
USING: sequences prettyprint ; "a" "b" "," glue .
"a,b"
See also
glue-as
Definition
USING:
kernel
;
IN:
sequences
:
glue
( seq1 seq2 seq3 -- newseq )
pick
glue-as
;
inline