Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Simon Peyton Jones <simonpj <at> microsoft.com>
Subject: patch applied (ghc): Add -fwarn-monomorphism-restriction (on by default) to warn when the MR is used
Newsgroups: gmane.comp.lang.haskell.cvs.ghc
Date: Wednesday 25th April 2007 10:25:11 UTC (over 10 years ago)
Wed Apr 25 03:18:32 PDT 2007  [email protected]
  * Add -fwarn-monomorphism-restriction (on by default) to warn when the MR
is used
  
  Users often trip up on the Dreaded Monomorphism Restriction.  This
  warning flag tells you when the MR springs into action.
  
  Currently it's on by default, but we could change that.
  

    M ./compiler/main/DynFlags.hs +3
    M ./compiler/typecheck/TcRnMonad.lhs -1 +1
    M ./compiler/typecheck/TcSimplify.lhs -3 +16
    M ./docs/users_guide/flags.xml +7
    M ./docs/users_guide/using.xml +14
 
CD: 3ms