Either package:strict-base-types

The strict choice type.
Case analysis: if the value is Left a, apply the first function to a; if it is Right b, apply the second function to b.
Analogous to partitionEithers in Data.Either.