Generic-function: SB-SEQUENCE:MAP¶
Implements CL:MAP for extended sequences.
RESULT-PROTOTYPE corresponds to the RESULT-TYPE of CL:MAP but receives a prototype instance of an extended sequence class instead of a type specifier. By dispatching on RESULT-PROTOTYPE, methods on this generic function specify how extended sequence classes act when they are specified as the result type in a CL:MAP call. RESULT-PROTOTYPE may not be fully initialized and thus should only be used for dispatch and to determine its class.
Another difference to CL:MAP is that FUNCTION is a function, not a function designator.
Lambda list¶
(sb-impl::result-prototype function sequence &rest sb-impl::sequences)