~/talk

Monads you already use without knowing it

Talkat Functional Conf 2014 · 2014-10-09..10-11· [functional-programming]
slides:none on file

Shows concrete code patterns: implements a list monad via map‑cat (arrays of values, square root returning ± results) and a constrained maybe monad as 0/1-element lists for error short‑circuiting, builds a state monad threading implicit stack with push/pop/double as lambdas returning (value, state) and a bind that sequences them, and models IO as a world/state seed for deterministic randomness; examples use Ruby‑style pseudocode, Clojure core.monads and Haskell snippets, and the demos work conceptually.

AI-written summary · about

  1. 0:00Introduction
  2. 0:53Online abuse
  3. 2:11Disclaimer
  4. 3:33What are monads
  5. 5:40What do monads do
  6. 13:24Selfimposed constraint
  7. 16:50Try
  8. 18:33Identity
  9. 19:48State Monad
  10. 22:03Push Pop
  11. 26:11Why
  12. 28:20Assignments
  13. 31:21State Monads
  14. 33:48Closure Monads
~/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.