Skip to content

Commit

Permalink
Merge pull request #3 from KeeganMyers/fix-cljs-reduce-kv
Browse files Browse the repository at this point in the history
corrected CLJS reduce-kv
  • Loading branch information
frankiesardo authored Oct 17, 2016
2 parents 6c4b8c5 + 31fbc2e commit c1576a1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.2.7
- Correct CLJS implementation of IKVReduce
Contributed by @KeeganMyers

## 1.2.6
- Correct implementation of IHashEq

Expand Down
2 changes: 1 addition & 1 deletion src/linked/map.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit c1576a1

Please sign in to comment.