Changes between Version 5 and Version 6 of ModuleSystem


Ignore:
Timestamp:
Nov 29, 2005 11:31:45 PM (8 years ago)
Author:
john@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ModuleSystem

    v5 v6  
    77== Proposal == 
    88 
    9 Make bare capital names _always_ refer to value constructors, the presence of a subordinate list will distinguish type and class names. 
     9Make bare capital names _always_ refer to value constructors, the presence of a subordinate list will mean it should be interpreted as a type or class. 
    1010 
    1111so T will refer to a constructor always and T() will refer to a class or type always. 
     12 
     13this same rule will be used uniformly in export,import, and hiding lists. 
    1214 
    1315This will not only make everything consistant, but allow seperate decisions on whether to export a value or type constructor if they have the same name.