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

Prev:prepend ( seq1 seq2 -- newseq )
Next:3append-as ( seq1 seq2 seq3 exemplar -- newseq )


Vocabulary
sequences

Inputs
seq1a sequence
seq2a sequence
seq3a sequence


Outputs
newseqa sequence


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

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

Examples
USING: prettyprint sequences ; "a" "b" "c" 3append .
"abc"


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

Definition


: 3append ( seq1 seq2 seq3 -- newseq ) pick 3append-as ;