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

Safe HaskellNone

Language.Haskell.Modules.ModuVerse

Synopsis

Documentation

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.