Safe Haskell | None |
---|---|
Language | Haskell2010 |
Distribution.Types.Library
Synopsis
-
data
Library
=
Library
{
- libName :: LibraryName
- exposedModules :: [ ModuleName ]
- reexportedModules :: [ ModuleReexport ]
- signatures :: [ ModuleName ]
- libExposed :: Bool
- libVisibility :: LibraryVisibility
- libBuildInfo :: BuildInfo
- emptyLibrary :: Library
- explicitLibModules :: Library -> [ ModuleName ]
- libModulesAutogen :: Library -> [ ModuleName ]
Documentation
Constructors
Library | |
Fields
|
Instances
explicitLibModules :: Library -> [ ModuleName ] Source #
Get all the module names from the library (exposed and internal modules) which are explicitly listed in the package description which would need to be compiled. (This does not include reexports, which do not need to be compiled.) This may not include all modules for which GHC generated interface files (i.e., implicit modules.)
libModulesAutogen :: Library -> [ ModuleName ] Source #
Get all the auto generated module names from the library, exposed or not.
This are a subset of
libModules
.