~/talk

How to grasp functors and monads and don't even notice it

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

Starts from category definitions and shows how functors and monads are concrete Scala types: a trait Functor with lift/map that must preserve identities and composition, and a Monad as an endofunctor with pure and fish (Kleisli) composition whose laws reduce to associativity and unit. Implements and verifies these laws for Option and List implementations, demonstrates flatMap/flatten behavior that collapses nested effects, and points to a GitHub repo with the runnable Scala examples.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 2:11What is a category
  3. 9:15Examples of categories
  4. 12:24What is a functor
  5. 16:16Endofunctors in Scala
  6. 24:42Introducing monads
  7. 32:22Monad implementations in Scala
  8. 33:26Resources and conclusion
~/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.