diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2015-12-31 13:47:43 +0100 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2015-12-31 22:35:50 +0100 |
commit | 2f923ce2ab8bad6d01645c735c81bbf1b9ff1e05 (patch) | |
tree | 8a21936336868ae1bdaf5b10eb8a1d58480a4727 /compiler/utils/BooleanFormula.hs | |
parent | 0d20737860c29169d89c1d5ea728f3848cc28564 (diff) | |
download | haskell-2f923ce2ab8bad6d01645c735c81bbf1b9ff1e05.tar.gz |
Drop pre-AMP compatibility CPP conditionals
Since GHC 8.1/8.2 only needs to be bootstrap-able by GHC 7.10 and
GHC 8.0 (and GHC 8.2), we can now finally drop all that pre-AMP
compatibility CPP-mess for good!
Reviewers: austin, goldfire, bgamari
Subscribers: goldfire, thomie, erikd
Differential Revision: https://phabricator.haskell.org/D1724
Diffstat (limited to 'compiler/utils/BooleanFormula.hs')
-rw-r--r-- | compiler/utils/BooleanFormula.hs | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/compiler/utils/BooleanFormula.hs b/compiler/utils/BooleanFormula.hs index 382431e549..743b8f11c0 100644 --- a/compiler/utils/BooleanFormula.hs +++ b/compiler/utils/BooleanFormula.hs @@ -1,4 +1,5 @@ -{-# LANGUAGE CPP #-} +{-# LANGUAGE DeriveDataTypeable, DeriveFunctor, DeriveFoldable, + DeriveTraversable #-} -------------------------------------------------------------------------------- -- | Boolean formulas without quantifiers and without negation. @@ -6,9 +7,6 @@ -- -- This module is used to represent minimal complete definitions for classes. -- -{-# LANGUAGE DeriveDataTypeable, DeriveFunctor, DeriveFoldable, - DeriveTraversable #-} - module BooleanFormula ( BooleanFormula(..), LBooleanFormula, mkFalse, mkTrue, mkAnd, mkOr, mkVar, @@ -20,10 +18,6 @@ module BooleanFormula ( import Data.List ( nub, intersperse ) import Data.Data -#if __GLASGOW_HASKELL__ < 709 -import Data.Foldable ( Foldable ) -import Data.Traversable ( Traversable ) -#endif import MonadUtils import Outputable |