-fno-monomorphism-restriction

Christian Maeder maeder at tzi.de
Tue Nov 30 10:23:44 EST 2004


Simon Peyton-Jones wrote:
> This isn't a bug.  See Section 4.5.5 of the Haskell Report,
> 	http://haskell.org/onlinereport/decls.html
> in the second bullet under the sub-heading "Motivation".  Your (bi, las)
> binding is essentially the same as the (n,s) binding in that bullet.

Thanks for your analysis. By changing "let" to "case" I could make all 
my sources compile (with and without -fno-monomorphism-restriction). (So 
there's no hurry/need for a -fmonomorphism-restriction flag.)

Christian


More information about the Glasgow-haskell-users mailing list