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

map Function

Summary

Extends the function map to allow it to take any type specifier.

Package

common-lisp

Signature

map result-type function &rest {sequence}* => result

Arguments
result-type
A sequence type specifier or nil.
function
A function designator.
sequence
Values
result
Description

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

function and sequence are used as specified by ANSI Common Lisp.

See also

map in the Common Lisp HyperSpec
concatenate
make-sequence
merge


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