~/talk

Functional Programming with Effects

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

Derives monads from function composition and implements the required operations — pure and flatMap-derived fish operator — then checks the identity and associativity laws (Cats/Scalaz help with testing). Shows concrete effects: Option for validation returning None on empty strings, Either giving the first Left failure, List producing a Cartesian product, Reader threading configuration, and a state-based PRNG d6 that takes a seed and deterministically returns rolls and a new seed. Demonstrations compose these effectful computations and show which ones are commutative and which are not.

AI-written summary · about

  1. 0:00Introduction
  2. 4:38What is functional programming
  3. 16:39Effects vs side effects
  4. 27:30Composing effects with monads
  5. 41:41Summary and next steps
~/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.