1.2.0 permalink Arrow_down_16x16
  • (least-by f & args)
Return the argument for which f yields the smallest value.

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/contrib/greatest_least.clj:23 top

(defn least-by
  "Return the argument for which f yields the smallest value."
  [f & args]
  (apply boundary neg? f args))
Vars in clojure.contrib.greatest-least/least-by: apply defn neg?
Used in 0 other vars

Comments top

No comments for least-by. Log in to add a comment.