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.