gracefully handle 7.10 modules if present

This commit is contained in:
Stephen Diehl
2016-04-13 16:36:42 -04:00
parent f6fca1059d
commit ef52c8d507
2 changed files with 11 additions and 0 deletions
+2
View File
@@ -45,7 +45,9 @@ import GHC.Types as X (
, Word
, Ordering
, IO
#if ( __GLASGOW_HASKELL__ >= 710 )
, Coercible
#endif
)
infixr 0 $!
+9
View File
@@ -128,10 +128,19 @@ import Data.Set as X (Set)
import Data.Sequence as X (Seq)
import Data.IntMap as X (IntMap)
import Data.IntSet as X (IntSet)
#if ( __GLASGOW_HASKELL__ >= 710 )
import Data.Proxy as X (
Proxy(..)
)
import Data.Void as X (
Void
, absurd
, vacuous
)
#endif
-- Monad transformers
import Control.Monad.State as X (
MonadState