All Manuals > LispWorks® User Guide and Reference Manual > 33 The COMMON-LISP Package

merge Function

Summary

Redefines the function merge allowing it to take any type specifier.

Package

common-lisp

Signature

merge result-type sequence1 sequence2 predicate &key key => sequence

Arguments
result-type
A type specifier.
sequence1
A sequence.
sequence2
A sequence.
predicate
A function designator.
key
A function designator or nil.
Values
sequence
A sequence.
Description

The function merge has been extended to take any Common Lisp type. sequence will be of type result-type unless this is not possible, in which case a type-error is signaled.

sequence1, sequence2, predicate and key are used as specified by ANSI Common Lisp.

See also

merge in the Common Lisp HyperSpec
concatenate
make-sequence
map


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:30