0xf1f1
08/13/2024, 4:16 AMEItherNel
? 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 }
Sam
08/13/2024, 6:56 AMRiccardo Cardin
08/14/2024, 6:59 AM