**Issue with `Effect.forEach` and `Effect.Tag` in TypeScript**
Hey there!
I found a sneaky issue mixing
throws this error:
Changing
From what I've looked, it looks like
Any thoughs on this? Anyway we could improve the parameters detection to address this kind of things?
I found a sneaky issue mixing
Effect.forEach and Effect.Tag. This code (see this playground)throws this error:
Changing
Effect.forEach(Foo.foo), to Effect.forEach(() => Foo.foo()), fixes the issue.From what I've looked, it looks like
Foo.foo is an Iterable so it messes with the api parameters detection when using dual in the fiberRuntime.forEach : (args) => Predicate.isIterable(args[0])Any thoughs on this? Anyway we could improve the parameters detection to address this kind of things?
