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

doc for fapply - wrap in the same context as af? #211

Open
mbezjak opened this issue Feb 19, 2018 · 0 comments
Open

doc for fapply - wrap in the same context as af? #211

mbezjak opened this issue Feb 19, 2018 · 0 comments

Comments

@mbezjak
Copy link

mbezjak commented Feb 19, 2018

Docs for fapply

and return the result, wrapped in the same context as `av`.

Shouldn't it be the same context as af?

Using cats 2.2.0:

(m/fapply (maybe/just inc) (either/left 5))
=> #<Just 6>

(m/fapply (maybe/just inc) (either/right 5))
=> #<Just 6>

(m/fapply (maybe/nothing) (either/right 5))
=> #<Nothing>
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

1 participant