ThilawynandJulien Valverdé 46fac3b542
Publish / publish (push) Successful in 15s
Lint / lint (push) Successful in 11s
Upgrade Effect RC and expand Lens/View focus combinators (#12)
## Summary
- Upgrade `effect-lens-next` from Effect v4 RC `4.0.0-rc.109` to `4.0.0-rc.115`.
- Add `Lens.filter` / `View.filter` to narrow a focus to values matching a predicate or refinement.
- Add `Lens.focusOptionOrElse` to focus into an `Option` with a fallback default instead of failing on `None`.
- Add `Lens.focusRecordAt`, `Lens.focusMutableRecordAt`, and `Lens.focusHashMapAt` (plus `View.focusRecordAt` / `View.focusHashMapAt`) to focus on `Record`/`HashMap` values by key.
- Add `View.focusOption` / `View.focusOptionOrElse` for parity with the existing `Lens` combinators.
- Add `View.succeed` for a constant, read-only `View` over a fixed value.

## Test plan
- [x] `bun test` — 54 tests passing
- [x] `tsc --noEmit` — typecheck clean
- [x] `biome lint` — clean
- [x] `turbo build` — clean

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Julien Valverdé <julien.valverde@mailo.com>
Reviewed-on: #12
2026-09-16 21:47:28 +02:00
2026-03-25 00:44:50 +01:00
2026-03-25 00:44:50 +01:00
2026-03-25 00:44:50 +01:00
2026-03-25 00:44:50 +01:00
2026-03-25 00:44:50 +01:00

Effect Lens Monorepo

A Lens type for Effect to easily manage nested state.

This monorepo contains:

S
Description
An effectful Lens type to easily manage nested state
Readme MIT
1.6 MiB
Languages
TypeScript 100%