guile-devel
[Top][All Lists]
Advanced

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

Re: Text collation


From: Kevin Ryde
Subject: Re: Text collation
Date: Sun, 03 Dec 2006 09:02:43 +1100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

I wrote:
>
>> address@hidden {Scheme Procedure} locale-string->integer str [base [locale]]
>> address@hidden {Scheme Procedure} locale-string->inexact str [locale]
>
> I think you should cross-reference strtol and strtod here, since their
> parsing is rather idiosyncratic.  I'd even be a bit tempted to name
> them strtol and strtod in guile, to make it clear they're only one
> possible way of parsing.  Except those names aren't very nice ...

I'm now sure these should be called strtol and probably strtod,
because they're actually pretty awful functions.  The syntax they
recognise is C style, and the error return for overflow is not too
friendly.




reply via email to

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