Proposal: Improve Read Integer

Isaac Dupree ml at
Wed Nov 17 13:25:15 EST 2010

On 11/17/10 02:33, Yitzchak Gale wrote:
>> I doubt anyone relies on the current behaviour, and I think it's just an
>> oversight (i.e. bug) in the language definition anyway.
> The current behavior is consistent with the behavior of just
> about every other popular programming language.

C strtol() has the behavior Ian proposed, FWIW. (it parses 1.2 yielding 
the value equal to 1 and the location starting at the beginning of ".2".)


More information about the Libraries mailing list