Effect CommunityEC
Effect Community3y ago
22 replies
joystick

Transforming Effect<never, never, Either<ParseError, Item>[]> to Effect<never, ParseError[], Item[]>

Hi there, how are you doing?

I'm looking for advice.
Given Effect<never, never, Either<ParseError, Item>[]>
How can I transform it into Effect<never, ParseError[], Item[]>?

My goal is to filter out all parse errors to log and pass Item[]down the pipe.

Thank you 🙏
Was this page helpful?