Lenses, Folds, and Traversals
What it is
Edward Kmett's talk to the NY Haskell User Group on the lens library, building from fmap and function composition up to lenses, folds and traversals. It shows how these composable combinators access and modify parts of data structures.
Why Hacker News recommends it
HN calls it dense but mind-blowing, the go-to way to understand lenses through algebraic derivation.
- 3 people recommended it
- 3 different months
- 1 strong recommendations
- first 2013, last 2014
What HN commenters said
“I found this talk by edward kmett incredibly helpful[0].”
Dense but mind-blowing introduction to lenses and traversals
mijoharas, 2014-11 · Strong recommendation · in “How I Start: Haskell”
“Edward Kmett's video on his lens library walks through how you can derive it with this sort of logic”
Kmett derives the lens library through algebraic reasoning
jerf, 2013-01 · Recommendation · in “Why is the C++ STL so heavily based on templates?”
“Great things the parent has done with the language”
Showcase of great things done in Haskell
dllthomas, 2014-08 · Recommendation · in “Letter to a Young Haskell Enthusiast”
Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.
Topics: haskell, lens, traversals, functional programming, category theory
Also recommended by the same people
talkJonathan Haidt: The moral roots of liberals and conservativesTED · 3 HN recommenders · 2016–2018
commentaryClickbait is Unreasonably EffectiveVeritasium · 5 HN recommenders · 2021–2025
explainerThe Unreasonable Efficiency of Black Holesminutephysics · 2 HN recommenders · 2020–2025
explainerHow Electricity Actually WorksVeritasium · 4 HN recommenders · 2023–2026
interviewGovernment Surveillance: Last Week Tonight with John Oliver (HBO)LastWeekTonight · 5 HN recommenders · 2015–2023
otherHow Not to Land an Orbital Rocket BoosterSpaceX · 4 HN recommenders · 2018–2026
explainerSpherical Geometry Is Stranger Than Hyperbolic - Hyperbolica Devlog #2CodeParade · 3 HN recommenders · 2021–2026
explainerThe Biggest Misconception About ElectricityVeritasium · 7 HN recommenders · 2021–2026