Bifunctor whence Swapped instances for Either and Pair
Taneb opened this issue · comments
It'd mean adding another dependency, but bifunctors is already a dependency of lens, so that isn't too much of a problem.
Other instances from lens that could be added include Each, Field1, and Field2 for Pair. Some prisms for Either and Maybe could be cool, too.
That sounds good. Would have time to prepare a patch are shall I do it?
I'll get on it now.
Thanks for the patch. I've thrown in the Foldable
and Traversable
instances for either and released it to Hackage as strict-base-types-0.2
.