~/talk

Associated Effects: Flexible Abstractions for Effectful Programming

Talkat PLDI 2024 · 2024-06-24..06-28· [compilers-and-language-design]
links:none on file
slides:none on file

Introduces "associated effects": type-class-level effect variables that let each instance pick its concrete effect, solving cases like total vs partial division (float = pure, int = throws), mutable vs immutable folds (region effect vs pure), and differing reader effects. Implements the feature in Flix implementation, refactors the standard library (changes are small), adds associated effects to 11 type classes and unlocks 28 new instances, provides a formal calculus and reproducible artifacts.

AI-written summary · about

  1. 0:00Effect systems and type classes
  2. 1:06Overloading arithmetic operators
  3. 3:11Partial vs total functions
  4. 3:52Mutable vs immutable collections
  5. 5:19Incompatible effects in streams
  6. 6:22Challenges in effect abstraction
  7. 7:03Associated effects solution
  8. 8:47Implementation in Flick
  9. 10:35Formal calculus and library
  10. 10:56Conclusion and future
  11. 11:16Q&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.