@inproceedings{xie2020effect, author = {Xie, Ningning and Brachthauser, Jonathan and Hillerstrom, Daniel and Schuster, Philipp and Leijen, Daan}, title = {Effect Handlers, Evidently}, organization = {ACM SIGPLAN}, booktitle = {The 25th ACM SIGPLAN International Conference on Functional Programming (ICFP)}, year = {2020}, month = {August}, abstract = {See the ICFP'2020 talk on youtube Algebraic effect handlers are a powerful way to incorporate effects in a programming language. Sometimes perhaps even _too_ powerful. In this article we define a restriction of general effect handlers with _scoped resumptions_. We argue one can still express all important effects, while improving reasoning about effect handlers. Using the newly gained guarantees, we define a sound and coherent evidence translation for effect handlers, which directly passes the handlers as evidence to each operation. We prove full soundness and coherence of the translation into plain lambda calculus. The evidence in turn enables efficient implementations of effect operations; in particular, we show we can execute tail-resumptive operations _in place_ (without needing to capture the evaluation context), and how we can replace the runtime search for a handler by indexing with a constant offset.}, publisher = {ACM}, url = {http://approjects.co.za/?big=en-us/research/publication/effect-handlers-evidently/}, }