Changes between Version 29 and Version 30 of Commentary/Packages/GhcPackagesProposal


Ignore:
Timestamp:
Sep 28, 2006 10:51:15 AM (9 years ago)
Author:
Frederik
Comment:

minor typo

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Packages/GhcPackagesProposal

    v29 v30  
    7878=== Package versions === 
    7979 
    80 We probably want some special treatment for multiple versions of the same package.  What if you have both "foo-3.9" and "foo-4.0" installed, both exporting A.B.C?  This is jolly useful when you want to keep install new packages, but keep old ones around so you can try your program with the older one.  So we propose that this is not regarded as ambiguous: importing A.B.C gets the latest version, unless some compiler flag (-hide-package) takes it of the running. 
     80We probably want some special treatment for multiple versions of the same package.  What if you have both "foo-3.9" and "foo-4.0" installed, both exporting A.B.C?  This is jolly useful when you want to install new packages, but keep old ones around so you can try your program with the older one.  So we propose that this is not regarded as ambiguous: importing A.B.C gets the latest version, unless some compiler flag (-hide-package) takes it of the running. 
    8181 
    8282In short, an installed package can be of two kinds: