Changes between Version 8 and Version 9 of Commentary/Packages/GhcPackagesProposal


Ignore:
Timestamp:
Jul 4, 2006 10:30:19 AM (9 years ago)
Author:
guest
Comment:

small ghc command line syntax fix

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Packages/GhcPackagesProposal

    v8 v9  
    2525The 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:
    2626{{{
    27   ghc -c -package-name P1 C.hs
     27  ghc -c -package package-name P1 C.hs
    2828}}}
    2929Then C.o will contain symbols like "{{{P1.A.B.C.f}}}" etc.  In effect, the "original name" of a function {{{f}}} in module {{{M}}} of package {{{P}}} is {{{<P,M,f>}}}.