Optimizing Nested Validation with Either: Achieving Effect.all's 'Either' Mode
I'm using
Effect.all(effects, { mode: 'either' })
Effect.all(effects, { mode: 'either' })
which helps me perform deeply nested validation/parsing. Since I have quite bad performances, and my operation is sync, I was thinking of moving to use Either instead, yet
Either.all(eithers)
Either.all(eithers)
does not have the mode option. Is there a way to achieve the same behavior with Either?