Closed
Description
I'd like to have
fromLeft :: forall a b. a -> Either a b -> a
fromRight :: forall a b. b -> Either a b -> b
over the current partial
fromLeft :: Partial => forall a b. Either a b -> a
fromLeft :: Partial => forall a b. Either a b -> b
as typing either (const a) identity
becomes old rather quickly and I need these functions much more frequently than their partial counterparts. I'm not sure how confusing it would be to define these functions differently in two modules in this package, but even if don't rename the old ones I think this would be a win.