-
-
Notifications
You must be signed in to change notification settings - Fork 80
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
Generalise mapBoth
to Bifunctor
#174
Comments
Instead of moving, let's introduce |
Should we do |
@josephcsible I'm not sure about |
We already have |
@josephcsible This involves solving several awkward problems:
|
I can take this one, but what I'll need to do specifically? :)
Just this part? |
@astynax Yep, only this part. Specifically:
|
Currently we have the following
mapBoth
function in theRelude.Extra.Tuple
module:relude/src/Relude/Extra/Tuple.hs
Lines 64 to 65 in 31ad834
I propose to generalise the type signature of this function so it can work with any
Bifunctor
:For this we need:
mapBoth
toRelude.Extra.Bifunctor
The text was updated successfully, but these errors were encountered: