~/talk

All-You-Can-Eat-Types: Monad Buffet

Talkat The Rolling Scopes Conference 2018 · on Sunday, 2018-02-11· [javascript]
slides:none on file

Shows how to encode Haskell/PureScript ideas in plain JavaScript: builds a lazy IO constructor that wraps console.log prompt and Math.random, implements map for lifting functions and a concrete bind that flattens F F into F, demonstrates flattening arrays with concat and composing promises, sketches monad transformers to stack IO state and error, and cites the “Escaping Hell with Monads” pattern to replace nested callbacks with do-like composition.

AI-written summary · about

  1. 0:00Start
  2. 0:15Real World vs. Purity
  3. 4:21Lazy effects
  4. 11:15Types with Complications
  5. 12:21Derived types
  6. 14:00Map function
  7. 17:02List/Array Functor
  8. 17:35Composing Functors
  9. 28:01Monad Transformers
  10. 33:45Bonus: ASM monad
~/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.