guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: number->string radix patch


From: Marius Vollmer
Subject: Re: number->string radix patch
Date: Thu, 10 Jun 2004 18:34:37 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

Keith Wright <address@hidden> writes:

> [...] Does this use the case of the #\E (or #\e) to differentiate a
> hex digit from an exponent marker?  Scheme (or SCHEME) is supposed
> to be case insensitive, and I would not want to break that useful
> and expected propery just to get this rather special purpose
> "extension".

This is not an extension to Scheme syntax, only number->string has
been extended.  The reader can not read non-decimal floating point
numbers, and probably shouldn't try to.  Also, 'write' and 'display'
will not produce new non-standard number syntax.

So, this is maybe not such a problem as you are fearing.  It is a
useful, compatible extension of number->string.

-- 
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3  331E FAF8 226A D5D4 E405




reply via email to

[Prev in Thread] Current Thread [Next in Thread]