Safe Haskell | None |
---|---|
Language | Haskell2010 |
Dynamically lookup up values from modules and loading them.
Synopsis
- initializePlugins :: HscEnv -> DynFlags -> IO DynFlags
- pluginError :: [ModuleName] -> a
Documentation
initializePlugins :: HscEnv -> DynFlags -> IO DynFlags Source #
Loads the plugins specified in the pluginModNames field of the dynamic flags. Should be called after command line arguments are parsed, but before actual compilation starts. Idempotent operation. Should be re-called if pluginModNames or pluginModNameOpts changes.
pluginError :: [ModuleName] -> a Source #