-
-
Notifications
You must be signed in to change notification settings - Fork 82
Generalise mapBoth to Bifunctor #174
Copy link
Copy link
Closed
Labels
Hacktoberfesthttps://hacktoberfest.digitalocean.com/https://hacktoberfest.digitalocean.com/enhancementNew feature or requestNew feature or requestextraRelude.ExtraRelude.Extra
Milestone
Metadata
Metadata
Assignees
Labels
Hacktoberfesthttps://hacktoberfest.digitalocean.com/https://hacktoberfest.digitalocean.com/enhancementNew feature or requestNew feature or requestextraRelude.ExtraRelude.Extra
Currently we have the following
mapBothfunction in theRelude.Extra.Tuplemodule: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:
mapBothtoRelude.Extra.Bifunctor