1.2.0 permalink Arrow_down_16x16
An empty maximum accumulator. Only numbers can be added.

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/accumulators.clj:185 top

(defacc maximum (fn [& xs]
		  (when-let [xs (seq (filter identity xs))]
		      (apply max xs)))
                nil
  "An empty maximum accumulator. Only numbers can be added.")
Vars in clojure.contrib.accumulators/empty-maximum: apply fn max when-let
Used in 0 other vars

Comments top

No comments for empty-maximum. Log in to add a comment.