generic-comparability

2018-01-31

CDR-8 implementation

Upstream URL

github.com/pnathan/generic-comparability

Author

Paul Nathan

License

LLGPL
README
Provided Systems

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

Dependencies (2)

  • alexandria
  • fiveam

Dependents (2)

  • GitHub
  • Quicklisp