Skip to content

Commit

Permalink
Compliance to latest spec (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
nadameu authored Aug 17, 2017
1 parent cae1969 commit f60f573
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 f60f573

Please sign in to comment.