[r6rs-discuss] Hashes in the number syntax

From: Jens Axel Søgaard <jensaxel>
Date: Tue Oct 31 07:41:35 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/>.
Received on Tue Oct 31 2006 - 07:40:58 UTC

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:01 UTC