You're viewing version 1.2.0 of -reset-methods. The latest stable version of Clojure Core is 1.3.0.
1.2.0 Arrow_down_16x16



  • (-reset-methods protocol)

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

(defn -reset-methods [protocol]
  (doseq [[^clojure.lang.Var v build] (:method-builders protocol)]
    (let [cache (clojure.lang.MethodImplCache. protocol (keyword (.sym v)))]
      (.bindRoot v (build cache)))))
Vars in clojure.core/-reset-methods: defn doseq let
Used in 1 other vars extend

Comments top

No comments for -reset-methods. Log in to add a comment.