~/talk

Effect Handlers in Haskell, Evidently

Talkat Haskell 2020 · 2020-08-27..08-28· [functional-programming]
links:none on file
slides:none on file

Presents a Haskell library called consort.ev.f that implements the evidence-passing translation from polymorphic algebraic effects to plain lambda calculus, built on a multi-prompt control monad and a GADT heterogeneous evidence vector. Uses STRef-backed implementation and detects tail-resumptive operations to evaluate resumptions in-place. Benchmarks show the library is about 5.5× slower than GHC-optimized raw ST loops but roughly 7× and 18× faster than two effect libraries (ee and evmt) in one test and about 1.5× faster on a realistic state benchmark.

AI-written summary · about

  1. 0:00Computational Effects
  2. 1:23Contribution
  3. 2:09Overview
  4. 3:03Library Interface
  5. 5:52Operations
  6. 7:18Implementation
  7. 8:08Evidence Passing
  8. 10:26Multi-prompt Monad
  9. 11:14The Evidence Vector, or, The Context
  10. 12:51Effect Constraints (?)
  11. 14:10Type-level Equality
  12. 16:09Optimization
  13. 17:41Scoped Resumptions
  14. 18:46Benchmarks
  15. 23:05More in the Paper
~/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.