-
Notifications
You must be signed in to change notification settings - Fork 28
Closed
Labels
type: breaking changeA change that requires a major version bump.A change that requires a major version bump.
Description
I'd like to have
fromLeft :: forall a b. a -> Either a b -> a
fromRight :: forall a b. b -> Either a b -> bover the current partial
fromLeft :: Partial => forall a b. Either a b -> a
fromLeft :: Partial => forall a b. Either a b -> bas 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.
garyb, samhh and ad-si
Metadata
Metadata
Assignees
Labels
type: breaking changeA change that requires a major version bump.A change that requires a major version bump.