[slime-devel] Re: ABCL patches for SLIME HEAD

Helmut Eller heller at common-lisp.net
Tue Sep 4 12:17:48 UTC 2007


* Tobias C. Rittweiler [2007-09-03 19:32+0200] writes:

> Just a guess, but what I could imagine that
> `parse-first-valid-form-spec' in swank-arglist.lisp could possibly be
> the culprit, as it uses the "mapping on several lists, one being
> circular" trick: 
[...]

Without parse-first-valid-form-spec, ABCL can compile the file.

>
>   (mapcar #'+ '(1 2 3 4) '#1=(10 . #1#))
>
> I'd expect this one to return (11 12 13 14), but closely rereading the
> CLHS entry for the mapping functions, reveals that those are actually
> only defined for /proper lists/.

Never heard of this trick.

> Is this something one could (and should?) reasonably expect to be de
> facto portable behaviour? IOW, am I to blame, or is ABCL?

Don't know, but parse-first-valid-form-spec gets my vote for most 
obfuscated function of the month.

Helmut.




More information about the slime-devel mailing list