Vocabulary
sequences

Inputs
seq1a sequence
seq2a sequence
exemplara sequence


Outputs
newseqa sequence


Word description
Outputs a new sequence of the same type as exemplar consisting of the elements of seq1 followed by seq2.

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

Examples
USING: prettyprint sequences ; { 1 2 } B{ 3 4 } B{ } append-as .
B{ 1 2 3 4 }

USING: prettyprint sequences strings ; "go" "ing" SBUF" " append-as .
SBUF" going"


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

Definition