~/talk

Functional Lenses in JavaScript

slides:none on file

Builds a tiny lenses library in plain JavaScript: implements a one-line curry function, helpers like prop and assoc, a lens constructor and the operations view/set/over, plus compose/pipe for lens composition. Demonstrates immutable updates on nested JSON (indexing into arrays and changing deep names) and shows the library works with examples, recommends Ramda and monocle-ts for production use, and cautions the demo code is educational rather than production hardened.

AI-written summary · about

  1. 0:00Introduction
  2. 3:16What are lenses
  3. 6:51Currying in JavaScript and its benefits
  4. 8:13Basic lens implementation
  5. 13:33Testing lenses
  6. 18:37Lenses for nested objects
  7. 22:18Composing lenses
  8. 27:18Lens libraries
  9. 29:45Functional programming libraries in JavaScript
  10. 30:28Fantasy Land overview
~/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.