{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,27]],"date-time":"2026-09-27T02:43:31Z","timestamp":1790477011228,"version":"4.1.0"},"reference-count":40,"publisher":"Cambridge University Press (CUP)","license":[{"start":{"date-parts":[[2019,10,8]],"date-time":"2019-10-08T00:00:00Z","timestamp":1570492800000},"content-version":"unspecified","delay-in-days":280,"URL":"https:\/\/www.cambridge.org\/core\/terms"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["J. Funct. Prog."],"published-print":{"date-parts":[[2019]]},"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>We compare the expressive power of three programming abstractions for user-defined computational effects: Plotkin and Pretnar\u2019s effect handlers, Filinski\u2019s monadic reflection, and delimited control. This comparison allows a precise discussion about the relative expressiveness of each programming abstraction. It also demonstrates the sensitivity of the relative expressiveness of user-defined effects to seemingly orthogonal language features. We present three calculi, one per abstraction, extending Levy\u2019s call-by-push-value. For each calculus, we present syntax, operational semantics, a natural type-and-effect system, and, for effect handlers and monadic reflection, a set-theoretic denotational semantics. We establish their basic metatheoretic properties: safety, termination, and, where applicable, soundness and adequacy. Using Felleisen\u2019s notion of a macro translation, we show that these abstractions can macro express each other, and show which translations preserve typeability. We use the adequate finitary set-theoretic denotational semantics for the monadic calculus to show that effect handlers cannot be macro expressed while preserving typeability either by monadic reflection or by delimited control. Our argument fails with simple changes to the type system such as polymorphism and inductive types. We supplement our development with a mechanised Abella formalisation.<\/jats:p>","DOI":"10.1017\/s0956796819000121","type":"journal-article","created":{"date-parts":[[2019,10,8]],"date-time":"2019-10-08T03:44:27Z","timestamp":1570506267000},"source":"Crossref","is-referenced-by-count":24,"title":["On the expressive power of user-defined effects: Effect handlers, monadic reflection, delimited control"],"prefix":"10.1017","volume":"29","author":[{"given":"YANNICK","family":"FORSTER","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-2071-0929","authenticated-orcid":false,"given":"OHAD","family":"KAMMAR","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"SAM","family":"LINDLEY","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"MATIJA","family":"PRETNAR","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"56","published-online":{"date-parts":[[2019,10,8]]},"reference":[{"key":"S0956796819000121_ref72","doi-asserted-by":"publisher","DOI":"10.1016\/0167-6423(90)90056-J"},{"key":"S0956796819000121_ref71","doi-asserted-by":"publisher","DOI":"10.1016\/j.scico.2013.01.002"},{"key":"S0956796819000121_ref70","doi-asserted-by":"publisher","DOI":"10.1007\/s10990-007-9010-4"},{"key":"S0956796819000121_ref38","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796816000320"},{"key":"S0956796819000121_ref69","doi-asserted-by":"publisher","DOI":"10.1007\/s10601-012-9137-8"},{"key":"S0956796819000121_ref7","doi-asserted-by":"publisher","DOI":"10.1016\/j.jlamp.2014.02.001"},{"key":"S0956796819000121_ref36","doi-asserted-by":"publisher","DOI":"10.1016\/j.entcs.2018.11.012"},{"key":"S0956796819000121_ref6","doi-asserted-by":"publisher","DOI":"10.2168\/LMCS-10(4:9)2014"},{"key":"S0956796819000121_ref67","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-89884-1_12"},{"key":"S0956796819000121_ref34","volume-title":"An Algebraic Theory of Type-and-Effect Systems","author":"Kammar","year":"2014"},{"key":"S0956796819000121_ref66","doi-asserted-by":"publisher","DOI":"10.1017\/CBO9780511626364"},{"key":"S0956796819000121_ref4","first-page":"1","volume":"7","author":"Baelde","year":"2014","journal-title":"J. Form. Reason."},{"key":"S0956796819000121_ref65","doi-asserted-by":"publisher","DOI":"10.1016\/j.entcs.2015.12.003"},{"key":"S0956796819000121_ref3","doi-asserted-by":"publisher","DOI":"10.1017\/S095679680900728X"},{"key":"S0956796819000121_ref32","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796898003050"},{"key":"S0956796819000121_ref64","doi-asserted-by":"publisher","DOI":"10.2168\/LMCS-10(3:21)2014"},{"key":"S0956796819000121_ref2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-76637-7_16"},{"key":"S0956796819000121_ref63","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-00590-9_7"},{"key":"S0956796819000121_ref1","doi-asserted-by":"publisher","DOI":"10.1007\/s10990-009-9049-5"},{"key":"S0956796819000121_ref61","doi-asserted-by":"publisher","DOI":"10.1023\/A:1023064908962"},{"key":"S0956796819000121_ref60","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-45931-6_24"},{"key":"S0956796819000121_ref29","volume-title":"Fibrations, Logical Predicates and Related Topics","author":"Hermida","year":"1993"},{"key":"S0956796819000121_ref28","volume-title":"A Framework for Specifying, Prototyping, and Reasoning about Computational Systems","author":"Gacek","year":"2009"},{"key":"S0956796819000121_ref27","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-71070-7_13"},{"key":"S0956796819000121_ref58","doi-asserted-by":"publisher","DOI":"10.1090\/S0002-9904-1974-13497-X"},{"key":"S0956796819000121_ref24","volume-title":"On the Expressive Power of Effect Handlers and Monadic Reflection","author":"Forster","year":"2016"},{"key":"S0956796819000121_ref56","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-35182-2_21"},{"key":"S0956796819000121_ref55","first-page":"84","volume":"24","author":"Marmolejo","year":"2010","journal-title":"Theory Appl. Categor"},{"key":"S0956796819000121_ref53","doi-asserted-by":"publisher","DOI":"10.1007\/11417170_20"},{"key":"S0956796819000121_ref51","doi-asserted-by":"publisher","DOI":"10.1007\/978-94-007-0954-6"},{"key":"S0956796819000121_ref18","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-17945-3_12"},{"key":"S0956796819000121_ref17","doi-asserted-by":"publisher","DOI":"10.1016\/0167-6423(91)90036-W"},{"key":"S0956796819000121_ref49","doi-asserted-by":"publisher","DOI":"10.1016\/j.apal.2016.10.011"},{"key":"S0956796819000121_ref79","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796815000118"},{"key":"S0956796819000121_ref77","doi-asserted-by":"publisher","DOI":"10.1006\/inco.1994.1093"},{"key":"S0956796819000121_ref76","doi-asserted-by":"publisher","DOI":"10.1007\/BF01019944"},{"key":"S0956796819000121_ref11","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-71067-7_14"},{"key":"S0956796819000121_ref43","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-73228-0_17"},{"key":"S0956796819000121_ref74","doi-asserted-by":"publisher","DOI":"10.2307\/2271658"},{"key":"S0956796819000121_ref73","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796808006758"}],"container-title":["Journal of Functional Programming"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.cambridge.org\/core\/services\/aop-cambridge-core\/content\/view\/S0956796819000121","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,5,26]],"date-time":"2026-05-26T22:36:49Z","timestamp":1779835009000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.cambridge.org\/core\/product\/identifier\/S0956796819000121\/type\/journal_article"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2019]]},"references-count":40,"alternative-id":["S0956796819000121"],"URL":"https:\/\/doi.org\/10.1017\/s0956796819000121","relation":{},"ISSN":["0956-7968","1469-7653"],"issn-type":[{"value":"0956-7968","type":"print"},{"value":"1469-7653","type":"electronic"}],"subject":[],"published":{"date-parts":[[2019]]},"article-number":"e15"}}