diff options
author | Joey Hess <joeyh@joeyh.name> | 2019-07-05 15:09:37 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2019-07-05 15:09:37 -0400 |
commit | 9a5ddda51150cb494ee26c97a3635c6c4b93ef11 (patch) | |
tree | 2aed9ee1b9abd4e84c4ee958755df6632152a5ee /Types/Difference.hs | |
parent | b8ef1bf3be4bfe13e599b1abbe1deea4fa00e3d2 (diff) |
remove many old version ifdefs
Drop support for building with ghc older than 8.4.4, and with older
versions of serveral haskell libraries than will be included in Debian 10.
The only remaining version ifdefs in the entire code base are now a couple
for aws!
This commit should only be merged after the Debian 10 release.
And perhaps it will need to wait longer than that; it would make
backporting new versions of git-annex to Debian 9 (stretch) which
has been actively happening as recently as this year.
This commit was sponsored by Ilya Shlyakhter.
Diffstat (limited to 'Types/Difference.hs')
-rw-r--r-- | Types/Difference.hs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Types/Difference.hs b/Types/Difference.hs index d2cad44444..774336c18e 100644 --- a/Types/Difference.hs +++ b/Types/Difference.hs @@ -5,8 +5,6 @@ - Licensed under the GNU AGPL version 3 or higher. -} -{-# LANGUAGE CPP #-} - module Types.Difference ( Difference(..), Differences(..), @@ -83,9 +81,6 @@ instance Sem.Semigroup Differences where instance Monoid Differences where mempty = Differences False False False -#if ! MIN_VERSION_base(4,11,0) - mappend = (Sem.<>) -#endif readDifferences :: String -> Differences readDifferences = maybe UnknownDifferences mkDifferences . readish |