strange behavior of let in ghci

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


Antoine, 

> You're running into the monomorphism restriction:
> http://www.haskell.org/haskellwiki/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.

--Kazu



More information about the Glasgow-haskell-users mailing list