module-management-0.16.1: 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.