Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Synopsis
- modExports :: Ord name => Module name -> ExportSpec name
- data ExportSpec name = ExportSpec {}
- exportBind :: Ord name => TopLevel name -> ExportSpec name
- exportType :: Ord name => TopLevel name -> ExportSpec name
- isExportedBind :: Ord name => name -> ExportSpec name -> Bool
- isExportedType :: Ord name => name -> ExportSpec name -> Bool
Documentation
modExports :: Ord name => Module name -> ExportSpec name Source #
data ExportSpec name Source #
Instances
exportBind :: Ord name => TopLevel name -> ExportSpec name Source #
Add a binding name to the export list, if it should be exported.
exportType :: Ord name => TopLevel name -> ExportSpec name Source #
Add a type synonym name to the export list, if it should be exported.
isExportedBind :: Ord name => name -> ExportSpec name -> Bool Source #
Check to see if a binding is exported.
isExportedType :: Ord name => name -> ExportSpec name -> Bool Source #
Check to see if a type synonym is exported.