Effect.forEach
配列やiterableな要素にEffectを適用する
https://effect.website/docs/getting-started/control-flow/#foreach
code:ts
const result = Effect.forEach(
1, 2, 3, 4, 5,
(n, index) =>
Console.log(Currently at index ${index}).pipe(Effect.as(n * 2)),
{ discard: true }
)