Next: srfi.170
- POSIX API, Previous: srfi.160
- Homogeneous numeric vector libraries, Up: Library modules - SRFIs [Contents][Index]
srfi.162
- Comparator sublibraryThis is a supplement of SRFI-128, comparators. It provides a few comparator procedures, as well as several useful pre-defined comparators, listed below. Theese pre-defined comparators are already built in Gauche, so see Predefined comparators for the details.
default-comparator boolean-comparator real-comparator char-comparator char-ci-comparator string-comparator string-ci-comparator pair-comparator list-comparator vector-comparator eq-comparator eqv-comparator equal-comparator
[SRFI-162]{srfi.162} Find the object in obj1 obj2 … that is minimum or maximum compared by comparator. Note: SRFI-114 provides the same procedures.
(comparator-min list-comparator '(a c b) '(a d) '(a c)) ⇒ (a c)
Next: srfi.170
- POSIX API, Previous: srfi.160
- Homogeneous numeric vector libraries, Up: Library modules - SRFIs [Contents][Index]