~/talk

The Functor, Applicative, Monad talk

Talkat Scale By the Bay 2017 · 2017-11-16..11-18· [functional-programming]
slides:none on file

Defines Functor, Applicative, Monad with concrete Scala types and code patterns: Option, Either, State as examples; shows map for Functor, zip and pure (or app) for Applicative, and flatMap-plus-pure for Monad. Demonstrates parsing ints and config, threading RNG/state without mutation, zipping independent effects, implementing traverse to collect lists, and composing dependent effects (parse header then body). Mentions for-comprehension sugar, cats/Haskell differences, and monad transformers for stacking effects.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:03Pure functional assumptions
  3. 3:54Handling missing values
  4. 5:15Stateful computations
  5. 7:01Effectful vs pure values
  6. 7:43Working with Option
  7. 9:48Introducing Functors
  8. 12:39Combining effectful values
  9. 13:22Need for Applicatives
  10. 16:53Applicative operations
  11. 19:46Why abstractions matter
  12. 20:30Generic Traverse function
  13. 24:06Dependent effectful values
  14. 26:53Monads explained
  15. 28:45Real-world example
  16. 30:11For-comprehension syntax
  17. 30:33Laws and limitations
  18. 31:39Further learning resources
  19. 34:08Q&A and closing
~/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.