You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm curious about why map and mapSecond behave exactly the same (according to docs). Shouldn't map allow users to change the type of both values in Tuple2?
I'm currently using version 0.0.12
The text was updated successfully, but these errors were encountered:
The map method is an override of Functor2, this means that the type signature of the method is expected to be the same. For this reason, map is allowed to update only one value.
Nonetheless, I added a mapBoth method for this purpose.
Hi, I'm curious about why
map
andmapSecond
behave exactly the same (according to docs). Shouldn'tmap
allow users to change the type of both values inTuple2
?I'm currently using version
0.0.12
The text was updated successfully, but these errors were encountered: