Open genmeblog opened 1 week ago
After fixing #99 some regression was introduced in tablecloth regarding comparison of any type. Till the last version, the following code was working. < or > could be treated as an universal comparator.
<
>
(tech.v3.datatype.argops/argsort tech.v3.datatype.functional/< ["ab" "bc"]) ;; => [0 1]
Is it possible to make a comparator which acts universally on every type or should I reach for Clojure comparator?
https://clojurians.zulipchat.com/#narrow/stream/236259-tech.2Eml.2Edataset.2Edev/topic/sorting.20string.20-.20regression.20in.207.2E030
After fixing #99 some regression was introduced in tablecloth regarding comparison of any type. Till the last version, the following code was working.
<
or>
could be treated as an universal comparator.Is it possible to make a comparator which acts universally on every type or should I reach for Clojure comparator?