{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,17]],"date-time":"2026-07-17T02:28:14Z","timestamp":1784255294310,"version":"3.55.0"},"reference-count":66,"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"}],"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>Relative monads provide a controlled view of computation. We generalise the monadic metalanguage to a relative setting and give a complete semantics with strong relative monads. Adopting this perspective, we generalise two existing program calculi from the literature. We provide a linear-non-linear language for graded monads, LNL-RMM, along with a semantic proof that it is a conservative extension of the graded monadic metalanguage. Additionally, we provide a complete semantics for the arrow calculus, showing it is a restricted relative monadic metalanguage. This motivates the introduction of ARMM, a computational lambda calculus-style language for arrows that conservatively extends the arrow calculus.<\/jats:p>","DOI":"10.1145\/3776702","type":"journal-article","created":{"date-parts":[[2026,1,8]],"date-time":"2026-01-08T18:59:43Z","timestamp":1767898783000},"page":"1730-1758","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":1,"title":["The Relative Monadic Metalanguage"],"prefix":"10.1145","volume":"10","author":[{"ORCID":"https:\/\/orcid.org\/0009-0005-7121-8095","authenticated-orcid":false,"given":"Jack","family":"Liell-Cock","sequence":"first","affiliation":[{"name":"University of Oxford, Oxford, United Kingdom"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0005-7578-2881","authenticated-orcid":false,"given":"Zev","family":"Shirazi","sequence":"additional","affiliation":[{"name":"University of Oxford, Oxford, United Kingdom"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-7149-3805","authenticated-orcid":false,"given":"Sam","family":"Staton","sequence":"additional","affiliation":[{"name":"University of Oxford, Oxford, 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-11(1:3)2015"},{"key":"e_1_3_2_3_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.jpaa.2024.107676"},{"key":"e_1_3_2_4_2","doi-asserted-by":"publisher","DOI":"10.70930\/tac\/jjc9mnky"},{"key":"e_1_3_2_5_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.jalgebra.2024.08.040"},{"key":"e_1_3_2_6_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.entcs.2011.02.014"},{"key":"e_1_3_2_7_2","doi-asserted-by":"crossref","unstructured":"Michael Barr and Charles Wells. 1985. Toposes Triples and Theories. Springer New York.","DOI":"10.1007\/978-1-4899-0021-0"},{"key":"e_1_3_2_8_2","doi-asserted-by":"publisher","DOI":"10.5555\/647844.736565"},{"key":"e_1_3_2_9_2","doi-asserted-by":"publisher","DOI":"10.1007\/BFb0037099"},{"key":"e_1_3_2_10_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.jpaa.2012.02.039"},{"key":"e_1_3_2_11_2","volume-title":"Handbook of categorical algebra: Basic category theory","author":"Borceux Francis","year":"1994","unstructured":"Francis Borceux. 1994. Handbook of categorical algebra: Basic category theory. Vol. 1. Cambridge University Press."},{"key":"e_1_3_2_12_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.aim.2019.05.016"},{"key":"e_1_3_2_13_2","unstructured":"Ezgi Ci\u00e7ek Marco Gaboardi and Deepak Garg. 2016. Cost-analysis: How do monads and comonads differ? Slides available from the author\u2019s webpage. https:\/\/drezgi.wordpress.com\/wp-content\/uploads\/2019\/01\/dice16.pdf"},{"key":"e_1_3_2_14_2","first-page":"41","article-title":"Genuinely functional user interfaces","author":"Courtney Antony","year":"2001","unstructured":"Antony Courtney and Conal Elliott. 2001. Genuinely functional user interfaces. In Haskell Workshop. 41\u201369.","journal-title":"Haskell Workshop"},{"key":"e_1_3_2_15_2","doi-asserted-by":"publisher","DOI":"10.1007\/BFb0060438"},{"key":"e_1_3_2_16_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-04027-6_19"},{"key":"e_1_3_2_17_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.aim.2020.107239"},{"key":"e_1_3_2_18_2","doi-asserted-by":"publisher","DOI":"10.1017\/S0960129523000324"},{"key":"e_1_3_2_19_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-662-49630-5_30"},{"key":"e_1_3_2_20_2","doi-asserted-by":"publisher","DOI":"10.1016\/0304-3975(87)90045-4"},{"key":"e_1_3_2_21_2","doi-asserted-by":"publisher","DOI":"10.1007\/BFb0092872"},{"key":"e_1_3_2_22_2","doi-asserted-by":"publisher","DOI":"10.4204\/EPTCS.153.7"},{"key":"e_1_3_2_23_2","doi-asserted-by":"publisher","DOI":"10.1145\/3428208"},{"key":"e_1_3_2_24_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-44833-4_6"},{"key":"e_1_3_2_25_2","doi-asserted-by":"publisher","DOI":"10.1016\/S0167-6423(99)00023-4"},{"key":"e_1_3_2_26_2","doi-asserted-by":"publisher","DOI":"10.2307\/421214"},{"key":"e_1_3_2_27_2","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-49099-X_18"},{"key":"e_1_3_2_28_2","doi-asserted-by":"publisher","DOI":"10.1145\/3720434"},{"key":"e_1_3_2_29_2","doi-asserted-by":"publisher","DOI":"10.1007\/11538363_8"},{"key":"e_1_3_2_30_2","doi-asserted-by":"publisher","DOI":"10.1145\/2535838.2535846"},{"key":"e_1_3_2_31_2","doi-asserted-by":"publisher","DOI":"10.1145\/3547654"},{"key":"e_1_3_2_32_2","doi-asserted-by":"publisher","DOI":"10.23638\/LMCS-14(4:6)2018"},{"key":"e_1_3_2_33_2","volume-title":"Basic Concepts of Enriched Category Theory","author":"Kelly Max","year":"1982","unstructured":"Max Kelly. 1982. Basic Concepts of Enriched Category Theory. Cambridge University Press."},{"key":"e_1_3_2_34_2","doi-asserted-by":"publisher","DOI":"10.1016\/0022-4049(93)90092-8"},{"key":"e_1_3_2_35_2","doi-asserted-by":"publisher","DOI":"10.1007\/BF01220868"},{"key":"e_1_3_2_36_2","doi-asserted-by":"publisher","DOI":"10.1007\/BF01304852"},{"key":"e_1_3_2_37_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-45231-5_2"},{"key":"e_1_3_2_38_2","doi-asserted-by":"publisher","DOI":"10.5555\/7517"},{"key":"e_1_3_2_39_2","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-48959-2_17"},{"key":"e_1_3_2_40_2","doi-asserted-by":"publisher","DOI":"10.1016\/S0890-5401(03)00088-9"},{"key":"e_1_3_2_41_2","doi-asserted-by":"publisher","DOI":"10.1145\/3371087"},{"key":"e_1_3_2_42_2","doi-asserted-by":"crossref","unstructured":"Jack Liell-Cock Zev Shirazi and Sam Staton. 2025. The Relative Monadic Metalanguage. arXiv:2512.11762 Extended version with appendices.","DOI":"10.1145\/3776702"},{"key":"e_1_3_2_43_2","doi-asserted-by":"publisher","DOI":"10.1145\/3704890"},{"key":"e_1_3_2_44_2","doi-asserted-by":"publisher","DOI":"10.1017\/S095679680999027X"},{"key":"e_1_3_2_45_2","volume-title":"Categories for the Working Mathematician","author":"Lane Saunders Mac","year":"1998","unstructured":"Saunders Mac Lane. 1998. Categories for the Working Mathematician. Springer, New York."},{"key":"e_1_3_2_46_2","doi-asserted-by":"publisher","DOI":"10.1145\/3371072"},{"key":"e_1_3_2_47_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-1-4612-9860-1"},{"key":"e_1_3_2_48_2","doi-asserted-by":"publisher","unstructured":"Francisco Marmolejo and Richard Wood. 2010. Monads as Extension Systems - No Iteration is Necessary. TAC (2010). doi:10.70930\/tac\/sbn7nctd","DOI":"10.70930\/tac\/sbn7nctd"},{"key":"e_1_3_2_49_2","doi-asserted-by":"publisher","unstructured":"Dylan McDermott and Tarmo Uustalu. 2022. Flexibly graded monads and graded algebras. In Proc. MPC \u201922. doi:10.1007\/978-3-031-16912-0_4","DOI":"10.1007\/978-3-031-16912-0_4"},{"key":"e_1_3_2_50_2","doi-asserted-by":"publisher","DOI":"10.4204\/EPTCS.360.6"},{"key":"e_1_3_2_51_2","doi-asserted-by":"publisher","DOI":"10.1016\/0890-5401(91)90052-4"},{"key":"e_1_3_2_52_2","doi-asserted-by":"publisher","DOI":"10.4204\/EPTCS.317.2"},{"key":"e_1_3_2_53_2","doi-asserted-by":"publisher","DOI":"10.1145\/507669.507664"},{"key":"e_1_3_2_54_2","doi-asserted-by":"publisher","DOI":"10.5555\/2688794"},{"key":"e_1_3_2_55_2","doi-asserted-by":"publisher","DOI":"10.5555\/2512979"},{"key":"e_1_3_2_56_2","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-45931-6_24"},{"key":"e_1_3_2_57_2","doi-asserted-by":"publisher","DOI":"10.1023\/A:1023064908962"},{"key":"e_1_3_2_58_2","doi-asserted-by":"publisher","DOI":"10.4204\/EPTCS.380.20"},{"key":"e_1_3_2_59_2","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796824000066"},{"key":"e_1_3_2_60_2","unstructured":"Andrew Slattery. [n. d.]. Strong relative monads on multicategories and on monoidal categories. PDF available on author\u2019s webpage. https:\/\/aslattery.co.uk\/files\/Strong_Relative_Monads_on_Multicategories_and_on_Monoidal_Categories.pdf"},{"key":"e_1_3_2_61_2","volume-title":"Commutativity of Relative Pseudomonads","author":"Slattery Andrew","year":"2024","unstructured":"Andrew Slattery. 2024. Commutativity of Relative Pseudomonads. Ph. D. Dissertation. University of Leeds."},{"key":"e_1_3_2_62_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-12032-9_5"},{"key":"e_1_3_2_63_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.entcs.2014.02.010"},{"key":"e_1_3_2_64_2","doi-asserted-by":"publisher","DOI":"10.1007\/bf02413910"},{"key":"e_1_3_2_65_2","doi-asserted-by":"publisher","DOI":"10.1145\/2429069.2429074"},{"key":"e_1_3_2_66_2","article-title":"Strong Relative Monads (Extended Abstract)","author":"Uustalu Tarmo","year":"2010","unstructured":"Tarmo Uustalu. 2010. Strong Relative Monads (Extended Abstract). In Proc. CMCS \u201910. https:\/\/cs.ioc.ee\/\u02dctarmo\/papers\/uustalu-cmcs10short.pdf","journal-title":"Proc. CMCS \u201910"},{"key":"e_1_3_2_67_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-662-02880-3_8"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3776702","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,7,16]],"date-time":"2026-07-16T13:45:16Z","timestamp":1784209516000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3776702"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,1,8]]},"references-count":66,"journal-issue":{"issue":"POPL","published-print":{"date-parts":[[2026,1,8]]}},"alternative-id":["10.1145\/3776702"],"URL":"https:\/\/doi.org\/10.1145\/3776702","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"}}]}}