~/talk

Let's Lens - Part 1 of 5

Talkat LambdaConf 2017 · 2017-05-25..05-27· [frontend-architecture]
slides:none on file

History and exercises focus on concrete implementations: Haskell code in the linked repos (requires GHC 7.8), exercises for Lets.GetSetLens and the optic/polymorphic versions, runnable doctests and QuickCheck examples, and a working library called lens. The talk gives actual definitions (the lens as getter+setter pair and the van Laarhoven representation), the three lens laws, worked modifier/set/get code, and how composing lens/prism/traversal produces the surprising, practical utilities that actually compile and test.

AI-written summary · about

  1. 0:00Start
  2. 8:19Syntax
  3. 9:20Category Theory
  4. 12:48Polymorphic Update Problem
  5. 16:12The Get Set Law
  6. 45:56What Is a Lens
~/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.