Changeset 8735 in project


Ignore:
Timestamp:
02/24/08 04:06:24 (12 years ago)
Author:
graham
Message:

start at documentation for orders egg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/orders

    r8734 r8735  
    1818
    1919E.g. to sort a list of integers based on their value modulo-10:
    20 (sort my-numbers (cmp < (cut modulo <> 10)))
     20(sort my-numbers (cmp-key < (cut modulo <> 10)))
    2121
    2222[procedure] (key-string< key)
    2323
    24 Generates an ordering procedure that sorts strings using string<
    25 (defined in SRFI-13).
     24Generates an ordering procedure (see {{cmp-key}}) that sorts strings
     25using string< (defined in SRFI-13).
    2626
     27
Note: See TracChangeset for help on using the changeset viewer.