• (greatest-by f & args)
Return the argument for which f yields the greatest 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:13 top

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

Comments top

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