Changes between Version 6 and Version 7 of ModuleSystem


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

--

Legend:

Unmodified
Added
Removed
Modified
  • ModuleSystem

    v6 v7  
    1515This 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. 
    1616 
     17elements within a subordinate list will be intpreted as before, as either data constructors or class methods. 
    1718 
    1819see section 9 of the following paper for more details:  
     
    2122 
    2223 * http://www.cse.ogi.edu/~diatchki/hsmod/ 
     24 
     25 
     26== Clarifications == 
     27 
     28There are a few things that should probably be clarified by the language definition dealing with field names and class methods, not that there is debate but they should be clearly specified: 
     29 
     301. does exporting a class name and a method name seperately as a function allow it to be declared in instance declarations? or does the function name need to be exported as part of a subordinate list? 
     31 
     322. the field name and function namespaces are different and export/import rules should take this into account, declaring fields creates _both_ a function and a field name. so should exporting the function also export the field name? or should the field name only be exportable via a subordinate list? 
     33