michael rice nowgate at yahoo.com writes:
I've been digging into this stuff for months and it's still tripping me up.
For exploration use GHCi. It can tell you the type of thing you have written. It
has command to tell you type of thing, the :t. See here:
Prelude let double x = Just (x + x)
On Thu, May 28, 2009 at 5:19 PM, Gracjan Polak gracjanpo...@gmail.com wrote:
You don't have to guess then, Haskell compiler can do the guessing for you.
It isn't guess, Haskell compiler (like GHC) gets these types by (type)
inference, as you said :-)
lee
It is called type inference.