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@gmail.com>
To: Gregory Propf <gregorypropf@yahoo.com>
Cc: haskell-cafe@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



It's here! Your new message!
Get new email alerts with the free Yahoo! Toolbar.