jackfirth / rebellion

A collection of core libraries for Racket
https://pkgs.racket-lang.org/package/rebellion
Apache License 2.0
80 stars 16 forks source link

Add `comparator-of-types` #519

Closed jackfirth closed 1 year ago

jackfirth commented 1 year ago

Actually I'm gonna abandon this, it doesn't help in the way I hoped it would. For ADTs, this reports all cases where the two datums are the same subtype as equivalent... which means that follow-up comparisons added with comparator-chain won't know which branches of the ADT the data can be assumed to be.