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.zigans...@gmail.com> > it's a Monomorphism Restriction of Haskell'98, disabled with > -XNoMonomorphismRestriction >
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users