mirror of
https://github.com/polysemy-research/polysemy.git
synced 2024-09-11 10:36:40 +03:00
ifdef the 810 parts so we still build on older ghcs
This commit is contained in:
parent
e82cbbd4d6
commit
4eece51af6
@ -1,5 +1,6 @@
|
||||
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
|
||||
{-# LANGUAGE ViewPatterns #-}
|
||||
{-# LANGUAGE CPP #-}
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
-- The MIT License (MIT)
|
||||
@ -46,7 +47,9 @@ import Polysemy.Plugin.Fundep.Utils
|
||||
import TcEvidence
|
||||
import TcPluginM (TcPluginM, tcPluginIO)
|
||||
import TcRnTypes
|
||||
#if __GLASGOW_HASKELL__ >= 810
|
||||
import Constraint
|
||||
#endif
|
||||
import TcSMonad hiding (tcLookupClass)
|
||||
import Type
|
||||
|
||||
|
@ -1,9 +1,15 @@
|
||||
{-# LANGUAGE CPP #-}
|
||||
|
||||
module Polysemy.Plugin.Fundep.Unification where
|
||||
|
||||
import Data.Bool
|
||||
import Data.Function (on)
|
||||
import qualified Data.Set as S
|
||||
#if __GLASGOW_HASKELL__ >= 810
|
||||
import Constraint
|
||||
#else
|
||||
import TcRnTypes
|
||||
#endif
|
||||
|
||||
import Type
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user