... | ... | @@ -38,7 +38,7 @@ The authors of packages P1 and P2 didn't need to know about each other, and don' |
|
|
The fundamental thing GHC needs to do is to include the package name into the names of entities the package defines. That means that when compiling a module M you must say what package it is part of:
|
|
|
|
|
|
```wiki
|
|
|
ghc -c -package-name P1 C.hs
|
|
|
ghc -c -package package-name P1 C.hs
|
|
|
```
|
|
|
|
|
|
|
... | ... | |