GNU bug report logs - #11887
string->number edge cases

Previous Next

Package: guile;

Reported by: Ian Price <ianprice90 <at> googlemail.com>

Date: Mon, 9 Jul 2012 12:36:01 UTC

Severity: normal

Done: Mark H Weaver <mhw <at> netris.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Daniel Llorens <daniel.llorens <at> bluewin.ch>
To: Mark H Weaver <mhw <at> netris.org>
Cc: 11887 <at> debbugs.gnu.org
Subject: bug#11887: string->number edge cases
Date: Wed, 6 Mar 2013 18:11:51 +0100
On Mar 6, 2013, at 17:55, Mark H Weaver wrote:

> Daniel Llorens <daniel.llorens <at> bluewin.ch> writes:
> 
>> I think this isn't working as it should either.
>> 
>> scheme@(guile-user)> +1i
>> $1 = 0.0+1.0i
>> scheme@(guile-user)> 1i
>> ;;; <unknown-location>: warning: possibly unbound variable `#{1i}#'
>> ERROR: In procedure #<procedure 101d6d4a0 ()>:
>> ERROR: In procedure module-lookup: Unbound variable: #{1i}#

> No, this is correct.  Scheme requires a sign before an imaginary part.
> See R5RS section 7.1.1 (Lexical structure).

Thanks.

R5RS is wrong then. A shame.





This bug report was last modified 12 years and 160 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.