~/talk

A practical introduction to Category Theory

Talkat Scala.IO 2017 · 2017-11-02..11-03· [machine-learning]
slides:none on file

A practical runthrough of Category Theory grounded in Scala: concrete Scala typeclass code lives on GitHub and is shown for Monoid, Functor, Applicative, Monad with pattern‑matching implementations for Maybe/Option, List and examples using addition/concatenation identities. Tests use Scalacheck to verify identity, composition and associativity. The talk demonstrates pure / ap / map / flatMap / flatten relations, explains applicatives as independent-box combination and monads as sequential chaining and monoids of endo‑functors.

AI-written summary · about

  1. 0:00Start
  2. 3:04I AM NOT A MATHEMATICIAN
  3. 6:40WHAT IS A CATEGORY?
  4. 7:51COMPOSITION LAW
  5. 8:35COMPOSITION + ASSOCIATIVITY
  6. 10:26CATEGORY WITH 1 OBJECT
  7. 10:59MONOID'S RULES
  8. 11:19SCALACHECK FTW!
  9. 11:56A PRACTICAL EXAMPLE
  10. 13:45MONOID INSTANCES (1)
  11. 14:59CATEGORY WITH 1+ OBJECT
  12. 15:31CATEGORY IN A BOX
  13. 16:16LIFTING: CONTEXT VS CONTENT
  14. 17:11EXAMPLE OF BOXES
  15. 17:47FUNCTOR'S RULES
  16. 20:00FUNCTOR FOR MAYBE
  17. 21:14BOX FUNCTION + BOX VALUES
  18. 24:37APPLICATIVE FOR MAYBE
  19. 25:18BOX IN A BOX
  20. 26:53MONAD (AS FUNCTOR)
  21. 28:28BOXES IN A SEQUENCE
  22. 29:02FOR-COMPREHENSION
  23. 29:41MONAD (AS APPLICATIVE)
  24. 30:30MONAD FOR MAYBE
  25. 33:42SUMMARY
  26. 36:10WANNA KNOW MORE?
~/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.