[Top][All Lists]

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

Re: integer overflow

From: Davis Herring
Subject: Re: integer overflow
Date: Sat, 6 Mar 2010 08:23:35 -0800 (PST)
User-agent: SquirrelMail/1.4.8-5.7.lanl7

>> What's the point of doing that?  I would much prefer if read would just
>> raise an error.
> There are many cases where it's important to read an integer from some
> other program, so it's important to be able to read integers larger the
> Elisp's largest fixnum (tho less so for integers larger than the
> host system's natural "int").
> Examples are file sizes, process ids, user ids, ...

It seems to me that such cases are relevant to `string-to-*' more than to
`read'.   There is value in having them be consistent in their shared
domain, but there is also value in having the syntax of elisp not involve
magic thresholds where the type of a literal changes.


This product is sold by volume, not by mass.  If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during

reply via email to

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