~/talk

What did category theory do for us?

Talkat Scale By The Bay 2019 · 2019-11-13..11-15· [functional-programming]
slides:none on file

Argues that category theory explains why common typeclass methods are "liftings" and why their behavior reduces to two laws, identity and composition laws, so mistakes (an unlawful map/flatMap) produce subtle bugs; shows concrete correspondences like Kleisli composition = monad laws and applicative via map2; recommends category tools when writing generic, type-constructor libraries (free monad, recursion schemes, church encoding / free monad / tagless final), and gives a small example rewriting filter as liftOpt to reveal its laws.

AI-written summary · about

  1. 0:00Introduction
  2. 1:06Functional programming basics
  3. 8:47Type class laws and bugs
  4. 13:07Category theory fundamentals
  5. 18:08General constructions in libraries
  6. 22:24Type constructor libraries
  7. 27:04Category theory limits
  8. 29:31When to use patterns
  9. 33:14Tagless final vs free monad
  10. 36:24Rewriting filter as lift opt
  11. 41:27Q&A
~/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.