ghc-8.8.1: The GHC API
Safe HaskellNone
LanguageHaskell2010

DynamicLoading

Description

Dynamically lookup up values from modules and loading them.

Synopsis

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.