Changeset 39285 in project


Ignore:
Timestamp:
11/17/20 06:05:23 (8 days ago)
Author:
gnosis
Message:

Linked to original SRFI-67 page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/5/srfi-67

    r39284 r39285  
    66
    77Moreover, in case Scheme users and implementors find this mechanism useful and adopt it, the benefit of having a uniform interface to total orders to be used in data structures will manifest itself. Most concretely, a new sorting procedure in the spirit of this SRFI would have the interface {{(my-sort [ compare ] xs)}}, using default-compare if the optional compare was not provided. Then my-sort could be defined using the entire infrastructure of this SRFI: Efficient 2- and 3-way branching, testing for chains and pairwise inequality, min/max, and general order statistics.
     8
     9For more information, see [[https://srfi.schemers.org/srfi-67/|SRFI 67: Compare Procedures]]
    810=== 2  Introduction
    911This SRFI defines a mechanism for comparing Scheme values with respect to a total order {{(aka linear order)}} [1].
Note: See TracChangeset for help on using the changeset viewer.