Add fold, swap and map methods to Pair

Issue #73 new
Kenny MacLeod created an issue

The Pair type is missing many of the functional transformation methods that you can find on the Either class, such as swap, leftMap, rightMap, fold and bimap.

These can all be easily added to make Pair more useful and functional.

Comments (0)

  1. Log in to comment