ghc-mod-5.4.0.0: Happy Haskell Programming

Safe HaskellNone
LanguageHaskell2010

Language.Haskell.GhcMod.DynFlags

Contents

Synopsis

Documentation

Fast

Friendly to foreign export

Not friendly to -XTemplateHaskell and -XPatternSynonyms

Uses little memory

Slow

Not friendly to foreign export

Friendly to -XTemplateHaskell and -XPatternSynonyms

Uses lots of memory

addCmdOpts :: GhcMonad m => [GHCOption] -> DynFlags -> m DynFlags Source

Parse command line ghc options and add them to the DynFlags passed

withDynFlags :: GhcMonad m => (DynFlags -> DynFlags) -> m a -> m a Source

withCmdFlags :: GhcMonad m => [GHCOption] -> m a -> m a Source

setNoWarningFlags :: DynFlags -> DynFlags Source

Set DynFlags equivalent to "-w:".

setAllWarningFlags :: DynFlags -> DynFlags Source

Set DynFlags equivalent to "-Wall".

setNoMaxRelevantBindings :: DynFlags -> DynFlags Source

Set DynFlags equivalent to "-fno-max-relevant-bindings".