File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -156,5 +156,5 @@ test-suite tests
156156 , optparse-applicative
157157 , QuickCheck >= 2.8 && < 2.17
158158
159- if ! impl(ghc >= 8 )
159+ if impl(ghc < 8 )
160160 build-depends : semigroups
Original file line number Diff line number Diff line change 1+ {-# LANGUAGE CPP #-}
12module Options.Applicative.Builder.Internal (
23 -- * Internals
34 Mod (.. ),
@@ -27,7 +28,9 @@ module Options.Applicative.Builder.Internal (
2728import Control.Applicative
2829import Control.Monad (mplus )
2930import Data.List.NonEmpty (NonEmpty )
31+ #if __GLASGOW_HASKELL__ < 804
3032import Data.Semigroup hiding (Option )
33+ #endif
3134import Prelude
3235
3336import Options.Applicative.Common
Original file line number Diff line number Diff line change @@ -57,7 +57,9 @@ import Control.Monad.Trans.Class (lift)
5757import Control.Monad.Trans.Reader (ReaderT , ask )
5858import qualified Control.Monad.Fail as Fail
5959import Data.List.NonEmpty (NonEmpty )
60+ #if __GLASGOW_HASKELL__ < 804
6061import Data.Semigroup hiding (Option )
62+ #endif
6163import Prelude
6264
6365import System.Exit (ExitCode (.. ))
You can’t perform that action at this time.
0 commit comments