[iterate-devel] iterate shadows CL:COUNT (bug report)

mandeep singh lassiholik at gmail.com
Tue Jul 3 16:16:46 UTC 2007


For example:

 (iter (for i in '(1 2 3 4))
     (for c = (count i (list 234 234 2)))
       (collect c))

fails because CL:COUNT is shadowed by iterate and so i cant call the
function from that scope.

A workaround is:

(iter (for i in '(1 2 3 4))
   (for c = (funcall #'cl:count i (list 234 234 2)))
       (collect c))

But it is not nice to use this work-around.

regards,
msingh.



More information about the iterate-devel mailing list