John Wiegley: Putting Lenses to Work
4 人推荐 · 跨 4 个月 · 2020–2024

中文导读
John Wiegley 在 BayHac 2017 上的实战演讲,通过大量案例带练 Haskell 中的 lens,展示远超简单字段存取的强大用法,帮助开发者快速形成生产力。
为什么 HN 推它
HN 社区公认上手 lens 最快、最硬核的案例教学,后半段的进阶用法尤为精彩。
「不用死啃晦涩文档,看这一个小时的演讲就能快速掌握 lens 并投入实战。」HN 网友原话:you can learn enough lens to be productive in 1 hours with this talk without reading docs at all
英文原摘要(HackerTube / Claude 整理)
John Wiegley's BayHac 2017 talk walks through Haskell lenses by example, showing many practical uses beyond simple record access. It is aimed at people who want to become productive with the lens library.
HN recommends it as the fastest way to learn lenses by example, with far-out examples later on.
HN 上的提及
you can learn enough lens to be productive in 1 hours with this talk without reading docs at all
Good examples in "Putting lenses to work" by John Weigley
More are in this presentation
I would also recommend as a good video on lenses
serves as a great introduction by example