~/talk

Live Coding Eff in Anger

Talkat LambdaConf 2018 · 2018-06-03..06-05· [machine-learning]
links:none on file
links:none on file
slides:none on file

Live-coding shows building a Pet Store REST service using the Eff monad from the freer package, wiring Servant/Warp handlers into an effect stack, writing interpreters like runPetStore and runInMemoryDatabase, and swapping a failing DB interpreter to exercise error paths; tests move from IO to F and are fixed live, demonstrating composable handlers and an ability to mock subsystems. Measured overhead for the plumbing is about 5–10%, and the final demo compiles and exercises HTTP error translation.

AI-written summary · about

  1. 0:00Live coding intro
  2. 3:29Servant handlers to effects
  3. 15:37Database persistence with effects
  4. 31:50Handling DB failures
  5. 38:57Layered architecture thoughts
  6. 43:13Q&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.