cyclone/docs/api/srfi/128.md
Justin Ethier 69725d0ca0 Sync
2016-10-12 18:03:31 -04:00

3 KiB

layout title
main API

SRFI 128 - Comparators

The (srfi 128) provides comparators, which bundle a type test predicate, an equality predicate, an ordering predicate, and a hash function into a single Scheme object. By packaging these procedures together, they can be treated as a single item for use in the implementation of data structures.

See the SRFI document for more information.

comparator?

comparator-ordered?

comparator-hashable?

make-comparator

make-pair-comparator

make-list-comparator

make-vector-comparator

make-eq-comparator

make-eqv-comparator

make-equal-comparator

boolean-hash

char-hash

char-ci-hash

string-hash

string-ci-hash

symbol-hash

number-hash

make-default-comparator

default-hash

comparator-register-default!

comparator-type-test-predicate

comparator-equality-predicate

comparator-ordering-predicate

comparator-hash-function

comparator-test-type

comparator-check-type

comparator-hash

hash-bound

hash-salt

=?

<?

>?

<=?

>=?

comparator-if<=>