Skip to content
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
.travis.yml
README.md
generic-comparability-test.lisp
generic-comparability.asd
generic-comparability.lisp
run-sbcl-tests.lisp

README.md

GENERIC-COMPARABILITY

This is an implementation of CDR-8. Build Status

CDR-8 provides an interface for the EQUALS function, which is defined as a general equality predicate, as well as a set of ordering (COMPARE) functions for comparison. The semantics are described in the CDR-8 standard.

 EQUALS a b &rest keys &key recursive &allow-other-keys → result
COMPARE a b &rest keys &key recursive &allow-other-keys → result

COMPARE returns >, <, =, /=


LT a b &rest keys &key recursive &allow-other-keys → result
LTE a b &rest keys &key recursive &allow-other-keys → result
GT a b &rest keys &key recursive &allow-other-keys → result
GTE a b &rest keys &key recursive &allow-other-keys → result

The *T(E?) family returns T, NIL, or raises the INCOMPARABLE-OBJECT condition.

Contributing

Please issue a pull request.

Versioning

Semantic Versioning

License

LLGPL

You can’t perform that action at this time.