diff --git a/packages/effect-fc/src/Lens.ts b/packages/effect-fc/src/Lens.ts
index 666f5d6..e5e754e 100644
--- a/packages/effect-fc/src/Lens.ts
+++ b/packages/effect-fc/src/Lens.ts
@@ -139,7 +139,7 @@ export const mapEffect: {
)),
}))
-export const mapStructAt: {
+export const mapStructField: {
(
self: Lens,
key: K,
@@ -296,11 +296,11 @@ Effect.gen(function*() {
const myValueLens = ref.pipe(
fromSubscriptionRef,
- mapStructAt("values"),
+ mapStructField("values"),
mapArrayAt(1),
)
- const myValueLens2 = mapArrayAt(mapStructAt(fromSubscriptionRef(ref), "values"), 1)
+ const myValueLens2 = mapArrayAt(mapStructField(fromSubscriptionRef(ref), "values"), 1)
console.log(yield* ref.get, yield* myValueLens.get)
yield* set(myValueLens, 22)