Changes between Version 14 and Version 15 of Commentary/Packages/GhcPackagesProposal


Ignore:
Timestamp:
Jul 5, 2006 11:33:01 AM (8 years ago)
Author:
malcolm
Comment:

point out how the proposal conflicts with the second stated assumption

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Packages/GhcPackagesProposal

    v14 v15  
    5858  import A.B.C from "base-3.4" ( map, filter ) 
    5959}}} 
    60 The exact syntax is unimportant. The important thing is that the programmer can specify the package in the source text. 
     60The exact syntax is unimportant. The important thing is that the programmer can specify the package in the source text.  Note that this fundamentally conflicts with the second assumption we started with.  We were trying to avoid specifying "provenance" at the same time as "purpose", on the grounds that we wanted to avoid editing lots of source text when the provenance changed.  (And so it begs the question, if we need to edit the source anyway, why separate the syntax of packages from modules at all?) 
    6161 
    6262If we adopt the idea that an import statement can specify the source package, several design choices arise: