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

implement (<**>) using (=<<) and (<$>) #47

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

danbenedicto
Copy link

This version better reflects the documentation on L78:
-- | Witness that all things with (=<<) and (<$>) also have (<*>).

I was stumped by this exercise while going through https://github.com/system-f/fp-course
and came here looking for a solution. Eventually I figured out this formulation, which I think
is more fitting. It's actually not immediately obvious to me (a beginner) that (>>=) is
defined here.

This version better reflects the documentation on L78:
```-- | Witness that all things with (=<<) and (<$>) also have (<*>).```

I was stumped by this exercise while going through https://github.com/system-f/fp-course
and came here looking for a solution. Eventually I figured out this formulation, which I think
is more fitting. It's actually not immediately obvious to me (a beginner) that `(>>=)` is
defined here.
@tonymorris
Copy link
Owner

Yeah sorry you got stuck. Both are equivalent. You can jump on chat and get help if you get stuck again. Cheers!

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

Successfully merging this pull request may close these issues.

2 participants