0.8.4-SNAPSHOT Arrow_down_16x16

sort-by-member-count

clojure.core.logic

  • (sort-by-member-count a)

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/core/logic.clj:2323 top

(defn sort-by-member-count [a]
  (fn [x y]
    (let-dom a [x dx y dy]
      (< (member-count dx) (member-count dy)))))
Vars in clojure.core.logic/sort-by-member-count:
Used in 0 other vars

Comments top

No comments for sort-by-member-count. Log in to add a comment.