~/talk

Optics from the ground up

Talkat f(by) 2020 · on Saturday, 2020-01-25· [scala, functional-programming]
slides:none on file

Claim: a few practical optics cover most real needs for nested ADTs. Defines concrete lens: focus on product fields with get/modify/set and composes lenses to uppercase a deep classifier name. Introduces prism: focus on sum cases to extract a login from an auth union and shows composing lens+prism yields an optional: mix of lens and prism that safely reads/updates a nested username. Recommends using Monocle for full feature set, notes Shapeless can derive lenses but has tricky implicits, and shows composition rules (lens∘lens=lens, prism∘prism=prism, otherwise optional).

AI-written summary · about

  1. 0:00Introduction
  2. 2:54Classification
  3. 8:52Scalability
  4. 15:10Code
  5. 18:51User Name
  6. 25:01Links
  7. 27:32Data Structures
  8. 30:44Ecosystem
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.