... | ... | @@ -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/basicTypes/Module.hs](https://gitlab.haskell.org/ghc/ghc/tree/master/ghc/compiler/basicTypes/Module.hs) and [compiler/main/PackageConfig.hs](/trac/ghc/browser/ghc/compiler/main/PackageConfig.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/basicTypes/Module.hs](https://gitlab.haskell.org/ghc/ghc/tree/master/ghc/compiler/basicTypes/Module.hs) and [compiler/main/PackageConfig.hs](https://gitlab.haskell.org/ghc/ghc/blob/master/compiler/main/PackageConfig.hs), but here are the key definitions:
|
|
|
|
|
|
```wiki
|
|
|
newtype PackageId = PId FastString
|
... | ... | |