Details
Description
A Pair holds left and right, an Either holds left or right. Either is the dual of Pair.
Either applies transformations conditionally, like optional. So that, like using optional, you do not need to check for null etc.
A Pair holds left and right, an Either holds left or right. Either is the dual of Pair.
Either applies transformations conditionally, like optional. So that, like using optional, you do not need to check for null etc.