I'll peer at this some more tomorrow but this looks good. I'll see what I can accomplish with it. 🙏
r
raulraja
05/28/2019, 8:29 PM
As for ValidatedT it's not possible because Validated does not have a Monad extension it only goes up to Applicative and Monad transformers require Monad
raulraja
05/28/2019, 8:30 PM
Because they need to flatMap to the underlying value. Validated has no flatMap because otherwise it could not compose with error accumulation thanks to the E semigroup
d
Derek Berner
05/28/2019, 8:31 PM
Yeah that makes sense
Derek Berner
05/28/2019, 8:45 PM
With
flatMap
Validated could not accumulate downstream of an error