Changeset 20500 in project


Ignore:
Timestamp:
09/25/10 08:43:35 (8 years ago)
Author:
iraikov
Message:

rb-tree doc update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/rb-tree

    r20209 r20500  
    3232user-visible procedure defined in this egg:
    3333
    34 <procedure>make-rb-tree:: KEY-COMPARE-PROC -> SELECTOR</procedure>
     34<procedure>make-rb-tree:: KEY-COMPARE-PROC [insert-key-compare: KEY-COMPARE-PROC] [delete-key-compare: KEY-COMPARE-PROC]  -> SELECTOR</procedure>
    3535
    3636where KEY-COMPARE-PROC is a user-supplied function that takes two keys
    3737and returns a negative, positive, or zero number depending on how the
    3838first key compares to the second.
     39
     40Optional keyword arguments {{insert-key-compare}} and
     41{{delete-key-compare}} can be used to specify different key comparison
     42predicates for the insertion and deletion operations, respectively.
    3943
    4044The returned selector procedure can take one of the following arguments:
     
    124128=== Version history
    125129
     130; 3.0 : Ability to specify different predicates for lookup, insert, delete operations
    126131; 2.9 : Documentation converted to wiki format
    127132; 2.8 : Added matchable as dependency
Note: See TracChangeset for help on using the changeset viewer.