Moduleghc-source-gen-0.4.6.0Haskell2010
GHC.SourceGen.Module
This module provides combinators for constructing Haskell modules, including import and export statements.
- 3 types
- 10 values
- Packageghc-source-gen-0.4.6.0
- Exports13
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceModule.hs
HsModule'
2 declarationsImport declarations
7 declarationsAdds the {-# SOURCE #-} pragma to an import.
Imported/exported things
4 declarationsExports all methods and/or constructors.
A(..)
=====
thingAll "A"Exports specific methods and/or constructors.
A(b, C)
=====
thingWith "A" ["b", "C"]Exports an entire module.
Note: this is not valid inside of an import list.
module M
=====
moduleContents "M"