~/talk

Designing software with effects systems

slides:none on file

Describes migrating a 7‑year Haskell codebase to an effects design using Polysemy with concrete steps: extract IO into effect types, change function signatures, write interpret/run interpreters, and layer interpreters (DB → pool → IO). Reports scale: an existing codebase had ~40 effects and ~100 interpreters, and four years of production use inform pragmatic choices like adding an ID effect then swapping to an atomic‑state interpreter for tests, plus how reordering or embedding effects fixes test vs runtime differences.

AI-written summary · about

  1. 0:00Introduction
  2. 1:06Speaker background
  3. 2:34Effect systems origins
  4. 3:39Monads and effects
  5. 5:57Monad stack challenges
  6. 7:00Live demo setup
  7. 8:57Refactor hardcoded I/O
  8. 13:42First effect type
  9. 15:53Writing effect interpreters
  10. 18:51Embedded effects handling
  11. 22:40Minimal effect sets
  12. 24:09Implementing interpreters
  13. 29:40Stateful effects like ID gen
  14. 33:23Adding effects to stacks
  15. 36:21Refactoring summary
  16. 37:29Q&A
~/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.