#1317: add warning for the Prelude being imported implicitly
------------------------------+---------------------------------------------
  Reporter:  Isaac Dupree     |          Owner:         
      Type:  feature request  |         Status:  new    
  Priority:  normal           |      Milestone:         
 Component:  Compiler         |        Version:  6.6.1  
  Severity:  normal           |       Keywords:         
Difficulty:  Unknown          |             Os:  Unknown
  Testcase:                   |   Architecture:  Unknown
------------------------------+---------------------------------------------
For those who don't like the implicit Prelude (but have an existing
 codebase to work with, or want to stay compatible with Haskell standards).
 The only ways to keep the warning from triggering, once enabled, are
 `-fno-implicit-prelude`/`LANGUAGE NoImplicitPrelude`, and/or at least one
 `import ... Prelude ...` line appearing in the module.

 Proposed flag name:  -fwarn-implicit-prelude

 Proposed "on" status:  not even on with -Wall, must be enabled explicitly

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1317>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to