2017-02-28 02:01:14 +00:00
|
|
|
module GhcModExe.Flag where
|
2012-01-23 04:18:40 +00:00
|
|
|
|
2013-05-17 01:00:01 +00:00
|
|
|
import qualified Language.Haskell.GhcMod.Gap as Gap
|
2014-05-11 22:40:00 +00:00
|
|
|
import Language.Haskell.GhcMod.Convert
|
2014-07-11 01:10:37 +00:00
|
|
|
import Language.Haskell.GhcMod.Monad
|
2012-01-23 04:18:40 +00:00
|
|
|
|
2016-05-22 00:55:06 +00:00
|
|
|
-- | Listing of GHC flags, same as @ghc@\'s @--show-options@ with @ghc >= 7.10@.
|
2014-07-12 09:16:16 +00:00
|
|
|
flags :: IOish m => GhcModT m String
|
2016-05-22 00:55:06 +00:00
|
|
|
flags = convert' Gap.ghcCmdOptions
|