File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed
generics-sop/src/Generics/SOP/Type Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,9 @@ module Generics.SOP.Type.Metadata
3333 , Associativity (.. )
3434 ) where
3535
36+ #if __GLASGOW_HASKELL__ <802
3637import Data.Kind (Type )
38+ #endif
3739import Data.Proxy (Proxy (.. ))
3840import GHC.Generics
3941 ( Associativity (.. )
Original file line number Diff line number Diff line change @@ -43,7 +43,9 @@ module Data.SOP.BasicFunctors
4343 , mapKKK
4444 ) where
4545
46+ #if !MIN_VERSION_base(4,11,0)
4647import Data.Semigroup (Semigroup (.. ))
48+ #endif
4749import Data.Kind (Type )
4850import qualified GHC.Generics as GHC
4951
Original file line number Diff line number Diff line change @@ -91,7 +91,9 @@ import Data.Coerce
9191import Data.Kind (Type )
9292import Data.Proxy (Proxy (.. ))
9393import Unsafe.Coerce
94+ #if !MIN_VERSION_base(4,11,0)
9495import Data.Semigroup (Semigroup (.. ))
96+ #endif
9597
9698import Control.DeepSeq (NFData (.. ))
9799
You can’t perform that action at this time.
0 commit comments