Closed jpallari closed 7 years ago
This solution here uses a companion object for the constructor functions. Would the preferred style be outside of the companion object next to the type?
You need to update this as https://github.com/MarioAriasC/funKTionale/pull/20 changed Either
and Disjunction
generics
Updated.
The constructor allow creating left and right values without having to explicitly specify type parameters. Check the modified test for an example.