Using Effect.iterate for Type Narrowing - Effect Community