-
Notifications
You must be signed in to change notification settings - Fork 41
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
adds a contravariant functor to spec #16
Conversation
Thanks! Let's see how fantasyland/fantasy-land#150 go. |
👍 |
Still interested in this now it's merged in FL? If so, I'll spend some time getting it up to date |
Yea, definitely interested. Please do! |
I appear to have stolen your profile picture, @rpominov. Sorry about that I think this is updated! No diagram (my arch nemesis in FL PRs) |
Thank you! I'll take a close look tomorrow and hopefully merge.
Haha, not quite the same though 😅 |
docs/spec.md
Outdated
|
||
#### Methods | ||
|
||
1. `contramap :: Contravariant f => (a → b, f b) → f a` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should be contramap :: Contravariant f => Type f ~> (a → b, f b) → f a
.
This notations probably doesn't make much sense to anyone but me, and I don't like it too much either. But for now we should use it in all methods for consistency.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⚡️
Thank you! |
See fantasyland/fantasy-land#150
Resolves #15