It sounds correct, but as you say, this is hard i to get right :(Fine; that means that they become: head-> s-expr head (append $1 $2) head-> s-expr (list $1)But wait - an "s-expr" can be a non-list (like a symbol), but "append" only takes lists as arguments, so the first production CAN'T be right. I think (append $1 $2) should be (cons $1 $2) instead. Can anyone confirm/deny this? Egil, you're the expert, I'd love to hear from you especially. Hehehe. No offence taken.BTW, I'm really _not_ beating up on Egil Möller. This stuff is surprisingly hard to get right. |
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Readable-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/readable-discuss

