




The generic function 
map-collection-items
 calls a specified function on all the items in a collection.
Calls 
function
 on each item in the 
collection
 by calling the collection's 
items-map-function
. If 
collect-results-p
 is non-
nil
, the results of each call will be returned in a list. 
(setq collection (make-instance 'capi:collection
:items '(1 2 3 4 5)))
(capi:map-collection-items collection
'princ-to-string t)