module-management-0.17.1: Clean up module imports, split and merge modules

Safe HaskellNone




modifyExtensions :: ModuVerse m => ([Extension] -> [Extension]) -> m ()Source

Modify the list of extensions passed to GHC when dumping the minimal imports. Note that GHC will also use the extensions in the module's LANGUAGE pragma, so this can usually be left alone.

loadModule :: (ModuVerse m, MonadVerbosity m) => PathKey -> m ModuleInfoSource

Force a possibly cached module to be reloaded.