How do I properly accumulate errors when using `EI...
# arrow
u
How do I properly accumulate errors when using
EItherNel
? I am currently using
ensure
and just discovered it short circuits which only returns 1 error at a time.
fun do(): EitherNel<A, B> = either { ensure(true) { A.nel() } B }
s
r