[Haskell-cafe] Integers v ints

Jens Blanck jens.blanck at gmail.com
Thu Apr 1 05:27:41 EDT 2010

I was wondering if someone could give me some references to when and why the
choice was made to default integral numerical literals to Integer rather
than to Int in Haskell. Also, if you are aware of similar discussions in
other languages.

I'd like to use this information to make an analogous case for defaulting
real numerical literals (well, the literals are likely to be in scientific
notation, i.e., floating point) to some data type of computable reals rather
than to floating point Double.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20100401/b8a0b0d1/attachment.html

More information about the Haskell-Cafe mailing list