[R6RS] How to make -> a valid identifier [was: 3 things we may want to vote on]

dyb at cs.indiana.edu dyb
Wed Jun 8 10:10:32 EDT 2005


> At Wed, 08 Jun 2005 09:12:00 +0200, Michael Sperber wrote:
> > ... and then saying that any <token> that also matches <number> is
> > indeed a number, and the rest are identifiers.
>
> This is how MzScheme defines symbols, too.

Chez Scheme as well.  If I'm not mistaken, the same is also true for
Common Lisp.  I also recall some RnRS authors being adamantly opposed to
such a definition, and it does lead to some poor feedback when someone
tries to type in a complicated numeric literal and barely misses, like:

 +1.3482767e21 at 2.22001e26i

Kent


More information about the R6RS mailing list