~/talk

Let's Lens - Part 2 of 5

Talkat LambdaConf 2017 · 2017-05-25..05-27· [haskell, functional-programming]
slides:none on file

Part of a five‑part exercise series that uses the Haskell lens constructor pattern and the Lets.GetSetLens and Lets.Lens modules to derive getters setters and a working modifier; code compiles and simple tests show modify and compose behavior, with polymorphic optic examples, point‑free composition and applicative tricks explained. Real‑world glue appears: generating lenses from record fields and connecting to a Stratus ADS‑B feed for aircraft data. Repository code targets GHC 7.8 or greater.

AI-written summary · about

  1. 0:00Lens construction intro
  2. 2:23Basic lens for pairs
  3. 8:16Polymorphic update lenses
  4. 16:52Category theory and composition
  5. 28:03Function vs modify format
  6. 33:34Point-free style patterns
  7. 41:01Applicative in lens code
  8. 45:34Haskell code patterns
  9. 53:03Lens in aviation data
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.