Exercise solutions: Validation lesson 11
Contents
- Exercise 1
- Exercise 2
Exercise 1
We said that the LiftAB
and MaybeAB
typeclasses are too general to precisely represent the isomorphism between Either
and Validation
. In this exercise, you will give a demonstration of this.