(i: number)
| 174 | it.scoped("compositional retry", () => |
| 175 | Effect.gen(function*() { |
| 176 | const cond = (i: number) => (i <= 10 ? Effect.fail(i) : Effect.succeed(i)) |
| 177 | const count = yield* Ref.make(0) |
| 178 | const get = Effect.acquireRelease( |
| 179 | Ref.updateAndGet(count, (n) => n + 1).pipe( |