[Haskell-cafe] Int is broken [Was: Different answers on different machines]
Tristan Seligmann
mithrandi at mithrandi.net
Sun Jun 2 23:07:48 CEST 2013
On Sun, Jun 2, 2013 at 11:02 PM, Tommy Thorn <tt1729 at yahoo.com> wrote:
> On Jun 2, 2013, at 12:52 , Henry Laxen <nadine.and.henry at pobox.com> wrote:
>
> > Yes, that was it. The dell was a 32 bit system, and the desktop a 64. I
> > changed everything from Int to Integer, and now both agree. Thanks for
> the
> > pointer.
>
> Isn't that just terrible? I hate the fact that Haskell was defined to
> neither trap the overflow
> or just treat everything as Integer [like Scheme]. A sacrifice of program
> safety in the name
> of efficiency.
>
If you want to use Integer for everything, just do that.
--
mithrandi, i Ainil en-Balandor, a faer Ambar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20130602/fae67fce/attachment.htm>
More information about the Haskell-Cafe
mailing list