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

Safe HaskellNone
LanguageHaskell98

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 ModuleInfo Source

Force a possibly cached module to be reloaded.