From 7f18fc5553dcd1b8f457096b166130373c7b8f17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Valverd=C3=A9?= Date: Tue, 24 Mar 2026 09:00:29 +0100 Subject: [PATCH] Fix --- packages/effect-fc/src/Lens.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/effect-fc/src/Lens.ts b/packages/effect-fc/src/Lens.ts index 50b46d7..dc73344 100644 --- a/packages/effect-fc/src/Lens.ts +++ b/packages/effect-fc/src/Lens.ts @@ -271,8 +271,11 @@ export const updateAndGetEffect: { Effect.gen(function*() { - const myChunkRef = yield* SubscriptionRef.make(Chunk.make(12, 38, 69) as Chunk.Chunk) - const chunkValueLens = myChunkRef.pipe( + const ref = yield* SubscriptionRef.make({ + values: [13, 69, 1488] + }) + + const myValueLens = myChunkRef.pipe( fromSubscriptionRef, mapChunkAt(1), )