hackertube.io

John Wiegley: Putting Lenses to Work

Bay Area Haskell · talk · Watch on YouTube

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

  1. “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]”

  2. “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?”

  3. “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”

  4. “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