Changes between Version 15 and Version 16 of SetsCowan


Ignore:
Timestamp:
12/04/12 15:37:20 (4 years ago)
Author:
cowan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SetsCowan

    v15 v16  
    1313`(make-set `''=''`)` 
    1414 
    15 Returns a newly allocated empty set.  ''='' is the equality procedure for the set, which must be consistent with `eq?`.  If ''='' is other than `eq?`, `equal`, `string=?`, or `string-ci=?`, the implementation MAY signal an error.  '''Issue: possibly add '''`eqv?`''' to this list if hash tables support it.''' 
     15Returns a newly allocated empty set.  ''='' is the equality procedure for the set.  If ''='' is other than `eq?`, `equal`, `string=?`, or `string-ci=?`, the implementation MAY signal an error.  '''Issue: possibly add '''`eqv?`''' to this list if hash tables support it.''' 
    1616 
    1717`(set `''=''` `''element''` ...)` 
     
    121121`(bag-count `''bag''` `''element''`)` 
    122122 
    123 Returns an exact integer representing the number of times that ''element'' appears in ''bag''. 
     123Returns an exact integer representing the number of times that ''element'' appears in ''bag''; if it does not appear, returns 0. 
    124124 
    125125`(bag-increment `''bag` `element` `count''`)`