diff --git a/CHANGELOG.md b/CHANGELOG.md index b07fdc9..567149c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.2.7 +- Correct CLJS implementation of IKVReduce +Contributed by @KeeganMyers + ## 1.2.6 - Correct implementation of IHashEq diff --git a/src/linked/map.cljc b/src/linked/map.cljc index 2284b24..44d976e 100644 --- a/src/linked/map.cljc +++ b/src/linked/map.cljc @@ -204,7 +204,7 @@ IKVReduce (-kv-reduce [coll f init] - (reduce (seq coll) f init)) + (reduce #(apply (partial f %1) %2) init (seq coll))) IFn (-invoke [coll k]