... | ... | @@ -34,7 +34,7 @@ For example, code generated by `deriving` might use an `Orig` to refer to `Prelu |
|
|
## The `Module` and `ModuleName` types
|
|
|
|
|
|
|
|
|
In GHC, a *module* is uniquely defined by a pair of the module name and the package where the module is defined. The details are in [compiler/GHC/Types/Module.hs](https://gitlab.haskell.org/ghc/ghc/blob/master/compiler/GHC/Types/Module.hs) and [compiler/main/UnitInfo.hs](https://gitlab.haskell.org/ghc/ghc/blob/master/compiler/main/UnitInfo.hs), but here are the key definitions:
|
|
|
In GHC, a *module* is uniquely defined by a pair of the module name and the package where the module is defined. The details are in [compiler/GHC/Unit/Module.hs](https://gitlab.haskell.org/ghc/ghc/blob/master/compiler/GHC/Unit/Module.hs) and [compiler/GHC/Unit/Info.hs](https://gitlab.haskell.org/ghc/ghc/blob/master/compiler/GHC/Unit/Info.hs), but here are the key definitions:
|
|
|
|
|
|
```wiki
|
|
|
newtype PackageId = PId FastString
|
... | ... | |