... | @@ -11,7 +11,7 @@ We suggest the old import warnings be preserved with a flag which is not turned |
... | @@ -11,7 +11,7 @@ We suggest the old import warnings be preserved with a flag which is not turned |
|
|
|
|
|
## Motivation
|
|
## Motivation
|
|
|
|
|
|
[ Snoyman reports](http://www.yesodweb.com/blog/2016/05/are-unused-import-warnings-harmful) a common CPP anti-pattern in cross-GHC code:
|
|
[ Snoyman reports](http://www.yesodweb.com/blog/2016/05/are-unused-import-warnings-harmful) (with [ reddit discussion](https://www.reddit.com/r/haskell/comments/4jvtmh/are_unused_import_warnings_harmful/)) a common CPP anti-pattern in cross-GHC code:
|
|
|
|
|
|
```wiki
|
|
```wiki
|
|
#if MIN_VERSION_base(4,8,0)
|
|
#if MIN_VERSION_base(4,8,0)
|
... | | ... | |