HN 精选

John Wiegley: Putting Lenses to Work

Bay Area Haskell
4 人推荐 · 跨 4 个月 · 2020–2024
函数式编程
John Wiegley: Putting Lenses to Work

中文导读

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 上的提及

strong_rec platz · 2020-06 · HN 原文
you can learn enough lens to be productive in 1 hours with this talk without reading docs at all
rec ParetoOptimal · 2022-06 · HN 原文
Good examples in "Putting lenses to work" by John Weigley
rec ParetoOptimal · 2022-06 · HN 原文
More are in this presentation
rec lgas · 2022-11 · HN 原文
I would also recommend as a good video on lenses
strong_rec turboponyy · 2024-07 · HN 原文
serves as a great introduction by example

相关视频