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

NextPrevUpTopContentsIndex

merge

Function
Summary

Redefines the standard merge function 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. The sequence will be of type result-type unless this is not possible, in which case a type-error is signaled.

See also

concatenate
make-sequence
map


LispWorks User Guide and Reference Manual - 13 Feb 2015

NextPrevUpTopContentsIndex