
- Remove some CPP needed only because of GHC 7.4 (which is not supported now, yey) - Move CPP for GHC 8 to Gap module
10 lines
325 B
Haskell
10 lines
325 B
Haskell
module Language.Haskell.GhcMod.Flag where
|
|
|
|
import qualified Language.Haskell.GhcMod.Gap as Gap
|
|
import Language.Haskell.GhcMod.Convert
|
|
import Language.Haskell.GhcMod.Monad
|
|
|
|
-- | Listing of GHC flags, same as @ghc@\'s @--show-options@ with @ghc >= 7.10@.
|
|
flags :: IOish m => GhcModT m String
|
|
flags = convert' Gap.ghcCmdOptions
|