Regarding this example:
' ' x
y
I thought the answer should be:
=> (quote ((quote) x y))
Egil:
>I actually disagree to the test, not to the result. I think this code
>should be an error. The reason is that no other symbol adds parenthesis
>around the block more than once (ref. group and group group).
I don't think that's true. After all, in I-expressions AND normal
S-expressions,
''x
=> (quote (quote x))
> The above should have read:
'
' x y
I think that should be acceptable, but not REQUIRED. It's annoying to _have_
to give up so much vertical space.
It's also not what the spec says; the spec clearly recurses back to "expr", so
' ' x
should work. Granted, the spec has errors, but I think in this case it should
be acceptable, and the spec accepted as it is.
Regarding group:
> The spec is wrong, but your patch is wrong too - you should not remove
>multiple group from an expression, only the first one.
Okay, I understand your goal for "group" better now. That makes sense... but
in that case,
what _should_ the spec say?
--- David A. Wheeler
-------------------------------------------------------------------------
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