universal comparator
genmeblog opened this issue · comments
genmeblog commented
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?