You're viewing version 1.2.0 of ref-min-history. The latest stable version of Clojure Core is 1.3.0.
1.2.0 Arrow_down_16x16

ref-min-history

clojure.core

  • (ref-min-history ref)
  • (ref-min-history ref n)
Gets the min-history of a ref, or sets it and returns the ref

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.clj:1881 top

(defn ref-min-history
  "Gets the min-history of a ref, or sets it and returns the ref"
  {:added "1.1"}
  ([^clojure.lang.Ref ref]
    (.getMinHistory ref))
  ([^clojure.lang.Ref ref n]
    (.setMinHistory ref n)))
Vars in clojure.core/ref-min-history: defn ref
Used in 0 other vars

Comments top

No comments for ref-min-history. Log in to add a comment.