On Wed, Sep 9, 2009 at 2:17 PM, Aaron W. Hsu <[email protected]> wrote: > 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.
It reads as 'foonbar in PLT as well. -- sam th [email protected] _______________________________________________ r6rs-discuss mailing list [email protected] http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss
