validation.Result
flatMap over the Result if it is valid.
flatMap over the Result if it is valid. flatMap does not accumulate errors. If you want to do so, use and instead.
Run the first function if the Result is invalid, otherwise, run the second function.
Run the first function if the Result is invalid, otherwise, run the second function. This is the Catamorphism.