Type families and type inference - a question

Dmitry Tsygankov dmitry.tsygankov at gmail.com
Sun Jan 10 11:49:51 EST 2010


Oh, I see... Thank you, it works now with NoMonomorphismRestriction. The
error message is extremely misleading though... And so is the type signature
inferred by the compiler.

2010/1/10 Bulat Ziganshin <bulat.ziganshin at gmail.com>

> it's a Monomorphism Restriction of Haskell'98, disabled with
> -XNoMonomorphismRestriction
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20100110/5052dcc3/attachment.html


More information about the Glasgow-haskell-users mailing list