Changes between Version 25 and Version 26 of Commentary/Packages/GhcPackagesProposal


Ignore:
Timestamp:
Jul 7, 2006 7:57:29 AM (8 years ago)
Author:
simonpj
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Packages/GhcPackagesProposal

    v25 v26  
    8484  * '''Available''', but not exposed: the package can be used only by an explicit "from" import.  This is rather like "{{{import qualified M}}}, except at the package level.   
    8585 
    86 Typically, if multiple versions of the same pacakge are installed, then all will be available, but only one will be exposed. 
     86Typically, if multiple versions of the same package are installed, then all will be available, but only one will be exposed. 
     87 
     88GHC's command-line flags ({{{-hide-package}}}, {{{-package}}}) can be used to manipulate which packages are exposed, but typically an entire package or program will be compiled with a single set of such flags.  GHC does not curretly support in-module control, thus {{{ {-# OPTIONS_GHC -hide-package foo #-} }}}, and we do not propose to change that. 
    8789 
    8890Simon suggested that an installed package might be hidden (so that it cannot be used at all) but I'm not sure why we need that.