0.2.5 #43

Merged
Thilawyn merged 94 commits from next into master 2026-03-31 21:01:13 +02:00
Showing only changes of commit 99f5e089f5 - Show all commits

View File

@@ -1,4 +1,4 @@
import { Chunk, Effect, Pipeable, Predicate, Readable, Stream, Subscribable, SubscriptionRef } from "effect"
import { Chunk, Effect, Pipeable, Predicate, Readable, Ref, Stream, Subscribable, SubscriptionRef } from "effect"
export const LensTypeId: unique symbol = Symbol.for("@effect-fc/Lens/Lens")
@@ -124,6 +124,8 @@ Effect.gen(function*() {
console.log(yield* myChunkRef.get)
console.log(yield* chunkValueLens.get)
yield* Ref.update(myChunkRef, Chunk.replace(1, 22))
console.log(yield* chunkValueLens.get)
}).pipe(
Effect.runSync
)