[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#11887: string->number edge cases
From: |
Daniel Llorens |
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 <address@hidden> 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.