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

Commit 34a68cb

Browse files
committed
Merge pull request #39 from sharkdp/fix-fmapStrMap
Fix broken StrMap Functor instance
2 parents 7480551 + 281c7fc commit 34a68cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Data/StrMap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ exports.runST = function (f) {
3535
exports._fmapStrMap = function (m0, f) {
3636
var m = {};
3737
for (var k in m0) {
38-
if (m.hasOwnProperty(k)) {
38+
if (m0.hasOwnProperty(k)) {
3939
m[k] = f(m0[k]);
4040
}
4141
}

0 commit comments

Comments
 (0)