gcanti/monocle-ts
View on GitHub ↗ ★ 1,074 TypeScript
Functional optics: a (partial) porting of Scala monocle
3 mentions on Hacker News by 3 people: 0 stories, 3 comments · first 2019-12-06 · latest 2022-12-06
20082026
-
…natural; it fits right in without needing to deal with anything analogous to Template Haskell. [0] https://github.com/gcanti/monocle-ts#motivation
comment by wk_end · 2022-12-06 · in Exercises for understanding Haskell Lenses (2019) -
I like monocle-ts for lenses in TS https://github.com/gcanti/monocle-ts
comment by neurotrace · 2020-11-20 · in TypeScript 4.1 -
…how lenses work. If you use a library like monocle-ts the boilerplate is reduced drastically (see: https://github.com/gcanti/monocle-ts ).
comment by tthisk · 2019-12-06 · in The Lens Pattern in TypeScript