[r6rs-discuss] Hashes in the number syntax

Jens Axel Søgaard jensaxel at soegaard.net
Tue Oct 31 07:40:58 EST 2006


Hi all,

The lexical specification of <number> at page
11 and 12 inherit the old # syntax:

   > 1##
   100.0

   > 1##e2
   10000.0

My understanding is that # to some degree means
"digit unknown". That is, an implementation
is free to parse 1## as any inexact number
between 100 and 199.

Is this syntax used by anyone?

If not, would be an idea to remove it?
(Then the syntax <integer><hash><something-more>
  is available later in, say, R7RS for other purposes)

If the syntax is worth keeping, it deserves at least
an example somewhere (I couldn't find one, but I may
have overlooked one).


I'd prefer the syntax is removed, since the syntax can
not be used in portable programs.

-- 
Jens Axel Søgaard

Scheme Blogs?
See Planet Scheme at <http://www.scheme.dk/planet/>.




More information about the r6rs-discuss mailing list