[Haskell-cafe] Simple newbie question - Int and Integer
Gregory Propf
gregorypropf at yahoo.com
Thu Jul 12 14:38:56 EDT 2007
Thanks, I didn't see it in the tutorials I've been reading but I'm sure it's there and I just missed it.
----- Original Message ----
From: Brent Yorgey <byorgey at gmail.com>
To: Gregory Propf <gregorypropf at yahoo.com>
Cc: haskell-cafe at haskell.org
Sent: Thursday, July 12, 2007 11:14:22 AM
Subject: Re: [Haskell-cafe] Simple newbie question - Int and Integer
To be more precise, Int represents a machine-sized integer value, so it is limited in size but doing math with Int values translates directly into math on the processor. Integer can store integer values of arbitrary size, which is useful sometimes but is of course a lot slower, since the pieces of an Integer value have to be stored in some sort of list, and specialized code is used to do arithmetic with Integers by operating on the pieces and combining the results.
How have you been learning Haskell? I'm guessing this is probably covered in most tutorials.
-Brent
____________________________________________________________________________________
Expecting? Get great news right away with email Auto-Check.
Try the Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20070712/58835c42/attachment-0001.htm
More information about the Haskell-Cafe
mailing list