[Haskell-cafe] Int is broken [Was: Different answers on different machines]
tt1729 at yahoo.com
Sun Jun 2 23:02:00 CEST 2013
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
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
I disagree with this choice and posit that a clever implementation can minimize the cost
of the overflow checking in most relevant cases.
I wish this fatal flaw would be reconsidered for the next major revision.
More information about the Haskell-Cafe