strange behavior of let in ghci

Kazu Yamamoto ( 山本和彦 ) kazu at
Fri Jan 20 06:16:57 CET 2012


> You're running into the monomorphism restriction:

Oh. Thanks.

> You can also turn off the restriction at the command-line with the
> argument '-XNoMonomorphismRestriction', I think.

I will use "ghci -XNoMonomorphismRestriction" in my tutorial. Thank
you again.


More information about the Glasgow-haskell-users mailing list