LispWorks User Guide and Reference Manual > 27 The COMMON-LISP Package

NextPrevUpTopContentsIndex

map

Function
Summary

Redefines the standard map function allowing it to take any type specifier.

Package

common-lisp

Signature

map result-type function &rest sequences => result

Arguments

result-type

A sequence type specifier or nil .

function

A function designator.

sequence

A sequence.

Values

result

A sequence.

Description

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

See also

concatenate
make-sequence
merge


LispWorks User Guide and Reference Manual - 22 Dec 2009

NextPrevUpTopContentsIndex