{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,2]],"date-time":"2026-10-02T07:50:19Z","timestamp":1790927419568,"version":"4.1.0"},"reference-count":46,"publisher":"Association for Computing Machinery (ACM)","issue":"POPL","license":[{"start":{"date-parts":[[2026,1,8]],"date-time":"2026-01-08T00:00:00Z","timestamp":1767830400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/legalcode"}],"funder":[{"name":"UKRI Future Leaders Fellowship","award":["MR\/T043830\/1"],"award-info":[{"award-number":["MR\/T043830\/1"]}]},{"name":"UKRI Future Leaders Fellowship","award":["MR\/Z000351\/1"],"award-info":[{"award-number":["MR\/Z000351\/1"]}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2026,1,8]]},"abstract":"<jats:p>\n                    Effect handlers allow programmers to model and compose computational effects modularly. Effect systems statically guarantee that all effects are handled. Several recent practical effect systems are based on either row polymorphism or capabilities. However, there remains a gap in understanding the precise relationship between effect systems with such disparate foundations. The main difficulty is that in both row-based and capability-based systems, effect tracking is typically\n                    <jats:italic toggle=\"yes\">entangled<\/jats:italic>\n                    with other features such as functions.\n                  <\/jats:p>\n                  <jats:p>\n                    We propose a uniform framework for encoding, analysing, and comparing effect systems. Our framework exploits and generalises modal effect types, a recent novel effect system which\n                    <jats:italic toggle=\"yes\">decouples<\/jats:italic>\n                    effect tracking from functions via modalities. Modalities offer fine-grained control over when and how effects are tracked, enabling us to express different strategies for effect tracking. We give encodings as macro translations from existing row-based and capability-based effect systems into our framework and show that these encodings preserve types and semantics. Our encodings reveal the essence of effect tracking mechanisms in different effect systems, enable a direct analysis on their differences, and provide practical insights on language design.\n                  <\/jats:p>","DOI":"10.1145\/3776674","type":"journal-article","created":{"date-parts":[[2026,1,8]],"date-time":"2026-01-08T18:59:43Z","timestamp":1767898783000},"page":"923-950","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":3,"title":["Rows and Capabilities as Modal Effects"],"prefix":"10.1145","volume":"10","author":[{"ORCID":"https:\/\/orcid.org\/0009-0000-6589-3821","authenticated-orcid":false,"given":"Wenhao","family":"Tang","sequence":"first","affiliation":[{"name":"University of Edinburgh, Edinburgh, United Kingdom"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-1360-4714","authenticated-orcid":false,"given":"Sam","family":"Lindley","sequence":"additional","affiliation":[{"name":"University of Edinburgh, Edinburgh, United Kingdom"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2026,1,8]]},"reference":[{"key":"e_1_3_2_2_2","doi-asserted-by":"publisher","DOI":"10.2168\/LMCS-10(4:9)2014"},{"key":"e_1_3_2_3_2","doi-asserted-by":"publisher","DOI":"10.1145\/3158096"},{"key":"e_1_3_2_4_2","doi-asserted-by":"publisher","DOI":"10.1145\/3290319"},{"key":"e_1_3_2_5_2","doi-asserted-by":"publisher","DOI":"10.1145\/3371116"},{"key":"e_1_3_2_6_2","doi-asserted-by":"publisher","DOI":"10.1145\/3618003"},{"key":"e_1_3_2_7_2","doi-asserted-by":"publisher","DOI":"10.1145\/3527320"},{"key":"e_1_3_2_8_2","doi-asserted-by":"publisher","DOI":"10.1145\/3428194"},{"key":"e_1_3_2_9_2","unstructured":"Jonathan Immanuel Brachth\u00e4user Philipp Schuster and Klaus Ostermann. 2025. Effekt Language: A language with lexical effect handlers and lightweight effect polymorphism. https:\/\/effekt-lang.org.Accessed 2025-07-10."},{"key":"e_1_3_2_10_2","doi-asserted-by":"publisher","DOI":"10.1145\/3408993"},{"key":"e_1_3_2_11_2","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796820000039"},{"key":"e_1_3_2_12_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-031-30044-8_9"},{"key":"e_1_3_2_13_2","doi-asserted-by":"publisher","DOI":"10.1016\/0167-6423(91)90036-W"},{"key":"e_1_3_2_14_2","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796819000121"},{"key":"e_1_3_2_15_2","unstructured":"Daniel Gratzer. 2023. Syntax and semantics of modal type theory. Ph. D. Dissertation. Aarhus University."},{"key":"e_1_3_2_16_2","doi-asserted-by":"publisher","DOI":"10.1145\/3373718.3394736"},{"key":"e_1_3_2_17_2","doi-asserted-by":"publisher","DOI":"10.46298\/LMCS-17(3:11)2021"},{"key":"e_1_3_2_18_2","doi-asserted-by":"publisher","DOI":"10.1145\/2976022.2976033"},{"key":"e_1_3_2_19_2","doi-asserted-by":"publisher","DOI":"10.1145\/3607843"},{"key":"e_1_3_2_20_2","doi-asserted-by":"publisher","DOI":"10.1145\/3610612.3610616"},{"key":"e_1_3_2_21_2","volume-title":"M1 Internship Report : Effect Typing for Links","author":"Jourde Robin","year":"2022","unstructured":"Robin Jourde. 2022. M1 Internship Report : Effect Typing for Links. https:\/\/github.com\/Orbion-J\/intership-report-2022\/blob\/master\/pdf\/report.pdf Accessed 2025-07-10."},{"key":"e_1_3_2_22_2","doi-asserted-by":"publisher","DOI":"10.1145\/2500365.2500590"},{"key":"e_1_3_2_23_2","doi-asserted-by":"publisher","DOI":"10.1017\/BSL.2023.14"},{"issue":"4","key":"e_1_3_2_24_2","first-page":"293","article-title":"State in Haskell","volume":"8","author":"Launchbury John","year":"1995","unstructured":"John Launchbury and Simon L. Peyton Jones. 1995.State in Haskell. LISP Symb. Comput. 8, 4 (1995), 293\u2013341.","journal-title":"LISP Symb. Comput."},{"key":"e_1_3_2_25_2","first-page":"179","volume-title":"Revised Selected Papers from the Sixth Symposium on Trends in Functional Programming, TFP 2005, Tallinn, Estonia, 23-24 September 2005 (Trends in Functional Programming, Vol. volume 6)","author":"Leijen Daan","year":"2005","unstructured":"Daan Leijen. 2005. Extensible records with scoped labels. In Revised Selected Papers from the Sixth Symposium on Trends in Functional Programming, TFP 2005, Tallinn, Estonia, 23-24 September 2005 (Trends in Functional Programming, Vol. volume 6), Marko C. J. D. van Eekelen (Ed.). Intellect, 179\u2013194."},{"key":"e_1_3_2_26_2","doi-asserted-by":"publisher","DOI":"10.1145\/3009837.3009872"},{"key":"e_1_3_2_27_2","volume-title":"Koka: A strongly typed functional-style language with effect types and handlers","author":"Leijen Daan","year":"2025","unstructured":"Daan Leijen. 2025. Koka: A strongly typed functional-style language with effect types and handlers. https:\/\/koka-lang.github.io.Accessed 2025-07-10."},{"key":"e_1_3_2_28_2","doi-asserted-by":"publisher","DOI":"10.5555\/984044"},{"key":"e_1_3_2_29_2","doi-asserted-by":"publisher","DOI":"10.1016\/S0890-5401(03)00088-9"},{"key":"e_1_3_2_30_2","doi-asserted-by":"publisher","DOI":"10.1145\/3009837.3009897"},{"key":"e_1_3_2_31_2","doi-asserted-by":"publisher","DOI":"10.1145\/3674642"},{"key":"e_1_3_2_32_2","doi-asserted-by":"publisher","DOI":"10.1145\/3290325"},{"key":"e_1_3_2_33_2","unstructured":"Aleksandar Nanevski. 2004. Functional programming with names and necessity. Ph. D. Dissertation. USA. AAI3143944."},{"key":"e_1_3_2_34_2","doi-asserted-by":"publisher","DOI":"10.1145\/1352582.1352591"},{"key":"e_1_3_2_35_2","doi-asserted-by":"publisher","DOI":"10.4230\/LIPICS.FSCD.2019.30"},{"key":"e_1_3_2_36_2","doi-asserted-by":"publisher","DOI":"10.2168\/LMCS-9(4:23)2013"},{"key":"e_1_3_2_37_2","doi-asserted-by":"publisher","DOI":"10.1145\/75277.75284"},{"key":"e_1_3_2_38_2","doi-asserted-by":"publisher","DOI":"10.5555\/186677.186689"},{"key":"e_1_3_2_39_2","unstructured":"Wenhao Tang and Sam Lindley. 2025. Rows and Capabilities as Modal Effects. arxiv:2507.10301 [cs.PL] https:\/\/arxiv.org\/abs\/2507.10301"},{"key":"e_1_3_2_40_2","doi-asserted-by":"publisher","DOI":"10.1145\/3720476"},{"key":"e_1_3_2_41_2","doi-asserted-by":"publisher","DOI":"10.1007\/BF01018828"},{"key":"e_1_3_2_42_2","doi-asserted-by":"publisher","DOI":"10.1145\/3408981"},{"key":"e_1_3_2_43_2","doi-asserted-by":"publisher","DOI":"10.1145\/3563289"},{"key":"e_1_3_2_44_2","doi-asserted-by":"publisher","DOI":"10.1145\/3763112"},{"key":"e_1_3_2_45_2","doi-asserted-by":"publisher","DOI":"10.48550\/ARXIV.2404.16381"},{"key":"e_1_3_2_46_2","doi-asserted-by":"publisher","DOI":"10.1145\/3290318"},{"key":"e_1_3_2_47_2","doi-asserted-by":"publisher","DOI":"10.1145\/3473580"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3776674","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,7,16]],"date-time":"2026-07-16T13:43:58Z","timestamp":1784209438000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3776674"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,1,8]]},"references-count":46,"journal-issue":{"issue":"POPL","published-print":{"date-parts":[[2026,1,8]]}},"alternative-id":["10.1145\/3776674"],"URL":"https:\/\/doi.org\/10.1145\/3776674","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,1,8]]},"assertion":[{"value":"2025-07-10","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2025-11-06","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-01-08","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}