[Haskell-cafe] Simple newbie question - Int and Integer

Andrew Coppin andrewcoppin at btinternet.com
Thu Jul 12 14:39:09 EDT 2007


Gregory Propf wrote:
> So what the hell is the difference between them?  Int and Integer.  
> They aren't synonyms clearly.  What's going on?

Int = 32-bit integer.

Integer = arbitrary precision integer.

(See also Data.Integer and Data.Word, which provide signed and unsigned 
integers of other sizes.)



More information about the Haskell-Cafe mailing list