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 designator for a function.

key

A designator for a function or nil .

Values

sequence

A sequence.

Description

The merge function 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 signalled.

See also

concatenate
make-sequence
map


LispWorks Reference Manual - 20 Jul 2006

NextPrevUpTopContentsIndex