3append-as ( seq1 seq2 seq3 exemplar -- newseq )
Factor handbook > The language > Collections > Sequence operations > Appending sequences

Prev:3append ( seq1 seq2 seq3 -- newseq )
Next:surround ( seq1 seq2 seq3 -- newseq )


Inputs and outputs
seq1a sequence
seq2a sequence
seq3a sequence
exemplara sequence
newseqa sequence

Word description
Outputs a new sequence consisting of the elements of seq1, seq2 and seq3 in turn of the same type as exemplar.

Throws an error if seq1, seq2, or seq3 contain elements not permitted in sequences of the same class as exemplar.

USING: prettyprint sequences ; "a" "b" "c" SBUF" " 3append-as .
SBUF" abc"

See also
append, append-as, append!, 3append, push-all