From 13a12f5938d9bd8b4243d5780abea34209768f9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Valverd=C3=A9?= Date: Tue, 24 Mar 2026 12:32:36 +0100 Subject: [PATCH] Update docs --- packages/effect-fc/src/Lens.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/effect-fc/src/Lens.ts b/packages/effect-fc/src/Lens.ts index 54dd93a..f755595 100644 --- a/packages/effect-fc/src/Lens.ts +++ b/packages/effect-fc/src/Lens.ts @@ -6,7 +6,11 @@ export const LensTypeId: unique symbol = Symbol.for("@effect-fc/Lens/Lens") export type LensTypeId = typeof LensTypeId /** - * Read/write view over a value that exposes the latest value and a stream of updates. + * A bidirectional view into some shared state that exposes: + * + * 1. a `get` effect for reading the current value of type `A`, + * 2. a `changes` stream that emits every subsequent update to `A`, and + * 3. a `modify` effect that can transform the current value. */ export interface Lens extends Subscribable.Subscribable {