VocabularysequencesInputsOutputsWord descriptionOutputs a new sequence of the same type as
seq1 consisting of the elements of
seq2 followed by
seq1.
ErrorsThrows an error if
seq2 contains elements not permitted in sequences of the same class as
seq1.
ExamplesUSING: prettyprint sequences ;
{ 1 2 } B{ 3 4 } prepend .
{ 3 4 1 2 }
USING: prettyprint sequences strings ;
"go" "car" prepend .
"cargo"
See alsoprepend-asDefinition