Jens Axel S?gaard skrev:
>>> Is this syntax used by anyone?
>>
>> I don't know. IIRC, Sussman suggested this syntax, so
>> it might be used more at MIT than elsewhere.
I tried searching for this pattern in the PLT Source base
including all PLaneT packages:
[0123456789]+#+
The only relevant hits were:
<
http://ja.soegaard.net/planet/html/r6rs/r6rs/1/0/arithmetic/test-string2number.scm>
<
http://ja.soegaard.net/planet/html/r6rs/r6rs/1/0/arithmetic/string2number.scm>
The others were from non-Scheme files.
In "test-string2number.scm" I see:
(check (string->number "15##") ==> 1500.0)
shouldn't it check the interval [1500.0;1600.0[ ?
(I know the reference implementation returns 1500, but
it would be nice to be able to reuse the test suite.]
--
Jens Axel S?gaard
Received on Sun Nov 19 2006 - 15:22:24 UTC