aboutsummaryrefslogtreecommitdiff
path: root/haddock-library/src/CompatPrelude.hs
Commit message (Collapse)AuthorAgeFilesLines
* Add hlint action .hlint.yaml with ignores & CPP. (#1475)Phil de Joux2022-05-021-1/+2
|
* 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