Skip to content

Commit 9c2ae2f

Browse files
committed
Refer to GHC when acting on GHC quirks
1 parent 8eca2a8 commit 9c2ae2f

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

optparse-applicative.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ library
121121
if flag(process)
122122
build-depends: process >= 1.0 && < 1.7
123123

124-
if !impl(ghc >= 8) && !impl(mhs)
124+
if impl(ghc < 8)
125125
build-depends: semigroups >= 0.10 && < 0.21
126126
, fail == 4.9.*
127127

src/Options/Applicative/BashCompletion.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module Options.Applicative.BashCompletion
1414

1515
import Control.Applicative
1616
import Prelude
17-
#if !defined(__MHS__)
17+
#if !MIN_VERSION_base(4,16,0)
1818
import Data.Foldable ( asum )
1919
#endif
2020

@@ -232,7 +232,7 @@ words.
232232
Tab characters separate items from descriptions.
233233
-}
234234

235-
-- | Generated fish shell completion script
235+
-- | Generated fish shell completion script
236236
fishCompletionScript :: String -> String -> String
237237
fishCompletionScript prog progn = unlines
238238
[ " function _" ++ progn

src/Options/Applicative/Help/Core.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
{-# LANGUAGE CPP #-}
21
module Options.Applicative.Help.Core (
32
cmdDesc,
43
briefDesc,

0 commit comments

Comments
 (0)