Skip to content

Commit

Permalink
Compliance to latest spec
Browse files Browse the repository at this point in the history
  • Loading branch information
nadameu committed Aug 17, 2017
1 parent cae1969 commit 01abe77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/io.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ IO.prototype[map] = function(f) {
};

IO.prototype[ap] = function(a) {
return this[chain]((f) => a[map](f));
return a[chain]((f) => this[map](f));
};

module.exports = IO;

0 comments on commit 01abe77

Please sign in to comment.