On Wed, 09 Sep 2009 12:14:43 -0400, Brian Harvey <[email protected]>  
wrote:

>> That is, should |foo|n|baz| be parsed as three symbols,
>> foo, n, and baz, or a single symbol foonbaz?
>
> It seems to me that a single symbol foo|n|baz (terrible as that would be)
> would probably be closer to what a user who typed that in really meant
> than either of your two choices.  Given the ambiguity, perhaps it should
> just be flagged as an error?

In Chez Scheme, '|foo|n|bar| is treated as 'foonbar because the first |  
matches with the second, the third with the fourth, and the middle is  
parses without the extra treatment.

        Aaron W. Hsu


-- 
Of all tyrannies, a tyranny sincerely exercised for the good of its  
victims may be the most oppressive. -- C. S. Lewis

_______________________________________________
r6rs-discuss mailing list
[email protected]
http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss

Reply via email to