Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deriving applicative #285

Closed
elclanrs opened this issue Mar 16, 2018 · 1 comment
Closed

Deriving applicative #285

elclanrs opened this issue Mar 16, 2018 · 1 comment

Comments

@elclanrs
Copy link

elclanrs commented Mar 16, 2018

I see this in the docs:

function(m) { return m.chain(f => this.map(f)); }

But I thought it would be:

function(m) { return this.chain(f => ma.map(f)); }

Is this correct?

@rpominov
Copy link
Member

It's correct. The order of arguments in ap have been changed (#145) I guess that is what confused you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants