[Haskell-cafe] Int vs Integer

Chris Kuklewicz haskell at list.mightyreason.com
Sun Dec 18 19:09:43 EST 2005

Daniel Carrera wrote:
> Hello all,
> I found a good Haskell tutorial (second link on the Tutorials column)
> (now that I know how to run the programs in it). I have a question.
> What's the difference between the types Int and Integer? Likewise,
> what's the difference between the types Float and Double? Are those just
> synonims?

Ah, that question is about core language types.

The relevant section from the Haskell 98 Language Report (revised 2002):


The report, top link: http://www.haskell.org/onlinereport/
Though the report is not the best tutorial for some things.

More information about the Haskell-Cafe mailing list