Skip to content
This repository has been archived by the owner on Oct 4, 2020. It is now read-only.

Commit

Permalink
Merge pull request #39 from sharkdp/fix-fmapStrMap
Browse files Browse the repository at this point in the history
Fix broken StrMap Functor instance
  • Loading branch information
paf31 committed Jul 28, 2015
2 parents 7480551 + 281c7fc commit 34a68cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Data/StrMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ exports.runST = function (f) {
exports._fmapStrMap = function (m0, f) {
var m = {};
for (var k in m0) {
if (m.hasOwnProperty(k)) {
if (m0.hasOwnProperty(k)) {
m[k] = f(m0[k]);
}
}
Expand Down

0 comments on commit 34a68cb

Please sign in to comment.