Add 'whenLeft_' and 'whenLeftM_' (and same for '*Right*') #172
Labels
feature request
type:breaking
Breaking change (removal, renaming, semantic change, etc.)
type:feature
Something new is added.
Milestone
Currently
whenLeft
has this type:I propose to rename
whenLeft
towhenLeft_
and add the followingwhenLeft
:This might be useful when you want to throw exception on
Left
constructor, like this:Also consider doing the same for
whenJust
. Relates to #150.The text was updated successfully, but these errors were encountered: