Changes between Version 7 and Version 8 of AggregatesMedernach


Ignore:
Timestamp:
01/15/11 03:53:32 (6 years ago)
Author:
medernac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AggregatesMedernach

    v7 v8  
    1212`(define-datatype `''<datatype-name>''` `''<datatype-info>''` `''<designation>''` (`''<fieldname-spec>''` ...))` 
    1313 
    14 Returns a new datatype. designation is a description of the datatype.  (<fieldname-spec> ...) is a list of field specification. A field specification is either: 
     14''<datatype-name>'' is bound to a new datatype and ''<datatype-info>'' to a description of this datatype. ''<designation>'' describes the datatype.  (<fieldname-spec> ...) is a list of field specification. A field specification is either: 
    1515 
    1616  *  <field> 
     
    1919It is an error to have duplicated fieldnames.  
    2020 
    21 Field inheritance is optional and could be provided on top of this proposal with the following syntax: 
     21Field inheritance is optional and could be provided on top of this proposal with the following proposed syntax: 
    2222 
    2323`(define-inherited-datatype `''<datatype-name>''` `''<datatype-info>''` `''<parent-datatype-info>''` `''<designation>''` (`''<fieldname-spec>''` ...))` 
     
    2525Corresponding testing implementations are available at AggregatesMedernachImplementation and AggregatesMedernachInheritanceImplementation. 
    2626 
     27 
     28== Datatype description == 
    2729 
    2830`(datatype-info->designation `''<datatype-info>''`)` 
     
    3234`(datatype-info->fields `''<datatype-info>''`)` 
    3335 
    34  Returns corresponding list of fields of type described by <datatype-info>. 
     36 Returns corresponding list of fields specification of type described by <datatype-info>. 
    3537 
    3638 
    37 == Aggregates ( constructor / accessor ) constructor == 
     39== Aggregates ( constructor / accessor / mutators ) constructor == 
    3840 
    3941`(create-aggregate-functions `''<datatype>''`)`