I believe Series doesn't code-walk or transform
properly in the case below where I use LAMBDA both as
macro (equivalent to #'(lambda ...)) and in a ((lambda
(x) ...) y) form. Maybe it's a bug in CLISP?
I was trying to write a UNIQ filter as a macro (I
cannot use a function because &rest or &key wouldn't
BTW, some unique/remove-duplicates functionality might
be worth including in the series package, since it's
already hidden in parts of it: SCAN-PLIST and
SCAN-ALIST remove duplicates. That's why (scan-alist l)
is not equivalent to (chunk 2 2 (scan l)).
The code is appended as a notice to this bug report
because Sourceforge doesn't preserve formatting in the
Series 2.2.5, clisp-2.27-win32 on MS-Windos-2k
Thanks for your help,
Log in to post a comment.