~/talk

A pragmatic introduction to Category Theory

slides:none on file

Compact, pragmatic mapping of category theory to Scala: demonstrates how Functor, Applicative and Monad correspond to map, ap/pure and flatMap/flatten by implementing Maybe with map ap flatMap and verifying laws with property tests using ScalaCheck; shows practical examples (string->int->bool composition, Option concatenation and numeric monoids) and explains the core claim that a monad is a monoid in the category of endofunctors. All examples are implemented and the tests pass.

AI-written summary · about

  1. 0:00Start
  2. 3:01YOU DO NOT NEED TO KNOW CATEGORY THEORY TO WRITE
  3. 4:08HOW DO WE REASON?
  4. 4:55COMPOSITION ABSTRACTION
  5. 5:45ARROW THEORY CATEGORY THEORY HOW THINGS COMPOSE
  6. 34:10MONAD IS A MONOD IN THE CATEGORY OF ENDOFUNCTORS
~/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.