Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data Module = Module DefUnitId ModuleName
Documentation
A module identity uniquely identifies a Haskell module by
qualifying a ModuleName
with the UnitId
which defined
it. This type distinguishes between two packages
which provide a module with the same name, or a module
from the same package compiled with different dependencies.
There are a few cases where Cabal needs to know about
module identities, e.g., when writing out reexported modules in
the InstalledPackageInfo
.