HackerTube

THE VIDEO SHELF · haskell lenses

John Wiegley: Putting Lenses to Work

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 HN readers recommended it

HN recommends it as the fastest way to learn lenses by example, with far-out examples later on.

This is a summary from the source dataset, not an endorsement by Hacker News or the video creator.

Video & recommendation details

Creator / channel
Bay Area Haskell
Topic
haskell lenses
Format
talk
Level
intermediate
HN recommenders in dataset
4
HN mentions in dataset
5
Recommendation years in dataset
2020–2024

These counts and years describe the included Hacker News records; they are not YouTube views or the video’s publication date.

From the original HN conversations

Excerpts from the recorded comments. Follow each source for the full comment and surrounding discussion.

  • and you can learn enough lens to be productive in 1 hours with this talk without reading docs at all. You can skip the theory and go straight to usage: [VIDEO]

    platz on Hacker News · 2020-06
    In Haskell for a New Decade [pdf]
  • As with anything Haskell, one could simply reply with "here's the formal definition." But in easily digestible terms, it's a way to narrow your view over a collection to a subset that satisfies some property, and perhaps perform some operations on that subset. This video …

    turboponyy on Hacker News · 2024-07
    In Ask HN: What resources do you recommend for learning Haskell?
  • Good examples in "Putting lenses to work" by John Weigley: [VIDEO] Then for a great book that gives a great understanding see Chris Penner's amazing and fun "Optics by example: [LINK]

    ParetoOptimal on Hacker News · 2022-06
    In Dhall: A Gateway Drug to Haskell

Summaries, classifications and recommendation records are from the HackerTube source dataset. Read about this library and its limitations.

Keep exploring