Simplifying Effect Application on Array Elements
Hey
i'm trying to apply an effect on each element of an array in a pipeline, but i'm not sure what would be the simplest way to do it.
for instance :
can i simplify the
thanks!
i'm trying to apply an effect on each element of an array in a pipeline, but i'm not sure what would be the simplest way to do it.
for instance :
can i simplify the
Effect.flatMap ? seems a bit verbose with the .map, Effect.all, and Effect.flatMap. i'm sure there's a better way but i can't find it.thanks!
