All Manuals > LispWorks User Guide and Reference Manual > 33 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 function map 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 signaled.

See also

concatenate
make-sequence
merge


LispWorks User Guide and Reference Manual - 13 Feb 2015

NextPrevUpTopContentsIndex