Generic-function: SB-SEQUENCE:MERGE¶
Implements CL:MERGE for extended sequences.
RESULT-PROTOTYPE corresponds to the RESULT-TYPE of CL:MERGE 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:MERGE 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:MERGE is that PREDICATE is a function, not a function designator.
Lambda list¶
(sb-impl::result-prototype sb-impl::sequence1 sb-impl::sequence2 sb-impl::predicate &key
sb-impl::key)