#1292: -fwarn-monomorphism-restriction should be -Wmonomorphism-restriction
-------------------------+--------------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler | Version: 6.7
Severity: normal | Resolution: invalid
Keywords: | Difficulty: Unknown
Os: Unknown | Testcase:
Architecture: Unknown |
-------------------------+--------------------------------------------------
Comment (by simonpj):
Let me observe that
* Many newbie complaints are due to silent application of the MR
* It can always be suppressed by adding a type signature
Perhaps one could make a case to allowing silent MR for nested defns, like
the one above.
In any case, I don't feel strongly enough to reopen this. For now it can
stay off by default.
Simon
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1292>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs