add warning for the Prelude being imported implicitly
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
Trac metadata
Trac field | Value |
---|---|
Version | 6.6.1 |
Type | FeatureRequest |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | Unknown |
Architecture | Unknown |