~/talk

Surviving a world overflowing with effects

TalkinFrenchat Scala.IO 2017 · 2017-11-02..11-03· [scala, functional-programming]
links:none on file
slides:none on file

Shows how effects that aren’t expressed in types can be modeled in Scala by rewriting a vending‑machine example as pure functions and as monadic descriptions using Option, Either, State, Writer and Future. Demonstrates using OptionT/monad transformers to simplify Future[Option] and how run/handlers extract results, then reports that transformers get verbose and fragile when stacking more than two effects. Describes experiments with an extensible‑effects library (Eff) that let mixed effects compose and be handled, but notes compile errors and complexity make it experimental rather than production‑ready.

AI-written summary · about

  1. 0:00Start
  2. 6:14THE CALLER MUST HANDLE SIDE EFFECTS
  3. 8:25DIFFERENTIATING ERRORS
  4. 28:33EXTENSIBLE EFFECT
~/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.