Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added doc string for IKVReduce

  • Loading branch information...
commit df2b35266fb6c6f791f37a4e6cbd77514ce77838 1 parent 0ef92ba
@richhickey richhickey authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/clj/clojure/core/protocols.clj
View
4 src/clj/clojure/core/protocols.clj
@@ -157,4 +157,8 @@
(emit-array-impls int long float double byte char boolean)
(defprotocol IKVReduce
+ "Protocol for concrete associative types that can reduce themselves
+ via a function of key and val faster than first/next recursion over map
+ entries. Called by clojure.core/reduce-kv, and has same
+ semantics (just different arg order)."
(kv-reduce [amap f init]))
Please sign in to comment.
Something went wrong with that request. Please try again.