[cl-json-devel] Re: [PATCH] Explicitly test for alist instead of type error
Stephen Compall
s11 at member.fsf.org
Fri Aug 29 19:12:59 UTC 2008
Stephen Compall <s11 at member.fsf.org> writes:
> Clozure CL (current SVN, maybe release I dunno) does this:
>
> (map 'list #'identity '(x . "abc"))
> => (x #\b #\c)
>
> Which breaks the alist case in encoder.lisp.
And is furthermore permissible behavior, as discussed in
http://trac.clozure.com/openmcl/ticket/328 -- so a program may not
anyway portably rely on the above signaling a type-error.
--
I write stuff at http://failex.blogspot.com/ now. But the post
formatter and themes are terrible for sharing code, the primary
content, so it might go away sooner or later.
More information about the cl-json-devel
mailing list