Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- findExportable :: forall m. MonadError MultipleErrors m => Module -> m Exports
- resolveExports :: forall m. (MonadError MultipleErrors m, MonadWriter MultipleErrors m) => Env -> SourceSpan -> ModuleName -> Imports -> Exports -> [DeclarationRef] -> m Exports
Documentation
findExportable :: forall m. MonadError MultipleErrors m => Module -> m Exports Source #
Finds all exportable members of a module, disregarding any explicit exports.
resolveExports :: forall m. (MonadError MultipleErrors m, MonadWriter MultipleErrors m) => Env -> SourceSpan -> ModuleName -> Imports -> Exports -> [DeclarationRef] -> m Exports Source #
Resolves the exports for a module, filtering out members that have not been exported and elaborating re-exports of other modules.