Safe Haskell | None |
---|---|
Language | Haskell2010 |
- setEmptyLogger :: DynFlags -> DynFlags
- setDebugLogger :: (String -> IO ()) -> DynFlags -> DynFlags
- setHscNothing :: DynFlags -> DynFlags
- setHscInterpreted :: DynFlags -> DynFlags
- addCmdOpts :: GhcMonad m => [GHCOption] -> DynFlags -> m DynFlags
- withDynFlags :: GhcMonad m => (DynFlags -> DynFlags) -> m a -> m a
- withCmdFlags :: GhcMonad m => [GHCOption] -> m a -> m a
- setNoWarningFlags :: DynFlags -> DynFlags
- setAllWarningFlags :: DynFlags -> DynFlags
- allWarningFlags :: WarnFlags
- deferErrors :: Monad m => DynFlags -> m DynFlags
- eqDynFlags :: DynFlags -> DynFlags -> Bool
Documentation
setEmptyLogger :: DynFlags -> DynFlags Source #
Fast
Friendly to foreign export
Not friendly to -XTemplateHaskell and -XPatternSynonyms
Uses little memory
setHscNothing :: DynFlags -> DynFlags Source #
Slow
Not friendly to foreign export
Friendly to -XTemplateHaskell and -XPatternSynonyms
Uses lots of memory
setHscInterpreted :: DynFlags -> DynFlags Source #
addCmdOpts :: GhcMonad m => [GHCOption] -> DynFlags -> m DynFlags Source #
Parse command line ghc options and add them to the DynFlags
passed
withCmdFlags :: GhcMonad m => [GHCOption] -> m a -> m a Source #