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
seq1a sequence
seq2a sequence
seq3a sequence


Outputs
newseqa 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


: glue ( seq1 seq2 seq3 -- newseq ) pick glue-as ; inline