John Wiegley: Putting Lenses to Work
What it is
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.
Why Hacker News recommends it
HN recommends it as the fastest way to learn lenses by example, with far-out examples later on.
- 4 people recommended it
- 4 different months
- 2 strong recommendations
- first 2020, last 2024
What HN commenters said
“you can learn enough lens to be productive in 1 hours with this talk without reading docs at all”
Learn enough lens usage to be productive in an hour.
platz, 2020-06 · Strong recommendation · in “Haskell for a New Decade [pdf]”
“serves as a great introduction by example”
Great introduction to lenses by example, with humorous audience.
turboponyy, 2024-07 · Strong recommendation · in “Ask HN: What resources do you recommend for learning Haskell?”
“Good examples in "Putting lenses to work" by John Weigley”
Good examples of lens usage.
ParetoOptimal, 2022-06 · Recommendation · in “Dhall: A Gateway Drug to Haskell”
“I would also recommend as a good video on lenses”
Good lens video with far-out examples in the later portion.
lgas, 2022-11 · Recommendation · in “Ask HN: What piece of code/codebase blew your mind when you saw it?”
Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.
Topics: haskell, lens, functional programming, bayhac
Also recommended by the same people
talkGabriella Gonzalez – How to market Haskell to a mainstream programmerKonfy · 2 HN recommenders · 2020–2023
lectureBlack hole Firewalls - with Sean Carroll and Jennifer OuelletteThe Royal Institution · 3 HN recommenders · 2017–2022
talkFour Solutions to a Trivial Problem - Guy Steele Jr.Google TechTalks · 4 HN recommenders · 2017–2023
lectureLeonard Susskind on The World As Hologram | TVO DocsTVO Docs · 7 HN recommenders · 2013–2021
talk"Controlling Time and Space: understanding the many formulations of FRP" by Evan CzaplickiStrange Loop Conference · 5 HN recommenders · 2014–2026
talkYanis Varoufakis: The Global Minotaur: America, Europe and the Future of the Global EconomySkriptaTV · 3 HN recommenders · 2015–2015
talk"Finding bugs without running or even looking at code" by Jay ParlarStrange Loop Conference · 4 HN recommenders · 2019–2023
tutorialEmacs From Scratch #1 - Getting Started with a Basic Usable ConfigurationSystem Crafters · 3 HN recommenders · 2021–2024