aboutsummaryrefslogtreecommitdiff
path: root/haddock-library/src/CompatPrelude.hs
Commit message (Collapse)AuthorAgeFilesLines
* Fix build-failure regression for base < 4.7Herbert Valerio Riedel2019-12-081-0/+52
The `$>` operator definition is available only since base-4.7 which unfortunately wasn't caught before release to Hackage (but has been fixed up by a metadata-revision) This commit introduces a `CompatPrelude` module which allows to reduce the amount of CPP by ousting it to a central location, i.e. the new `CompatPrelude` module. This pattern also tends to reduce the tricks needed to silence unused import warnings. Addresses #1119