aboutsummaryrefslogtreecommitdiff
path: root/haddock-library/haddock-library.cabal
diff options
context:
space:
mode:
authorHerbert Valerio Riedel <hvr@gnu.org>2019-12-08 11:53:39 +0100
committerHerbert Valerio Riedel <hvr@gnu.org>2019-12-08 12:09:54 +0100
commitbe8b02c4e3cffe7d45b3dad0a0f071d35a274d65 (patch)
tree09e553a3714807eaf493fddb300c425b2f0d4b21 /haddock-library/haddock-library.cabal
parentee05ff1ecde866e31f72e3fa4f773dca98944dc3 (diff)
Fix build-failure regression for base < 4.7
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
Diffstat (limited to 'haddock-library/haddock-library.cabal')
-rw-r--r--haddock-library/haddock-library.cabal3
1 files changed, 2 insertions, 1 deletions
diff --git a/haddock-library/haddock-library.cabal b/haddock-library/haddock-library.cabal
index fe6aeede..7f91fd19 100644
--- a/haddock-library/haddock-library.cabal
+++ b/haddock-library/haddock-library.cabal
@@ -1,6 +1,6 @@
cabal-version: 2.2
name: haddock-library
-version: 1.8.0
+version: 1.8.0.1
synopsis: Library exposing some functionality of Haddock.
description: Haddock is a documentation-generation tool for Haskell
@@ -49,6 +49,7 @@ library
Documentation.Haddock.Types
other-modules:
+ CompatPrelude
Documentation.Haddock.Parser.Util
Documentation.Haddock.Parser.Monad
Documentation.Haddock.Parser.Identifier