{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,2]],"date-time":"2026-10-02T08:02:46Z","timestamp":1790928166578,"version":"4.1.0"},"reference-count":23,"publisher":"Association for Computing Machinery (ACM)","issue":"ICFP","funder":[{"DOI":"10.13039\/501100003151","name":"Fonds de recherche du Qu\u00e9bec \u2013 Nature et technologies","doi-asserted-by":"publisher","award":["253521"],"award-info":[{"award-number":["253521"]}],"id":[{"id":"10.13039\/501100003151","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/501100000038","name":"Natural Sciences and Engineering Research Council of Canada","doi-asserted-by":"publisher","award":["206263,RGPIN-2024-04777"],"award-info":[{"award-number":["206263,RGPIN-2024-04777"]}],"id":[{"id":"10.13039\/501100000038","id-type":"DOI","asserted-by":"publisher"}]},{"name":"FCT, Funda\u00e7\u00e3o para a Ci\u00eancia e a Tecnologia","award":["UIDB\/50021\/2020"],"award-info":[{"award-number":["UIDB\/50021\/2020"]}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2025,8,5]]},"abstract":"<jats:p>\n                    We introduce\n                    <jats:monospace>FuSes<\/jats:monospace>\n                    , a\n                    <jats:bold>Fu<\/jats:bold>\n                    nctional programming language that integrates\n                    <jats:bold>Ses<\/jats:bold>\n                    sion-typed concurrent process calculus code. A functional layer sits on top of a session-typed process layer. To generate and reason about open session-typed processes, the functional layer uses the contextual box modality extended with linear channel contexts. Due to the fundamental differences between the operational semantics of the functional layer and the concurrent semantics of processes, we bridge the two layers using a set of primitives to run and observe the behavior of closed processes within the functional layer. In addition,\n                    <jats:monospace>FuSes<\/jats:monospace>\n                    supports code analysis and manipulation of open session-typed process code. To showcase its benefit to programmers, we implement well-known optimizations, such as batch optimizations, as type-safe metaprograms over concurrent processes.\n                  <\/jats:p>\n                  <jats:p>\n                    Our technical contributions include a type system for\n                    <jats:monospace>FuSes<\/jats:monospace>\n                    , an operational semantics, a proof of its type safety, and an implementation.\n                  <\/jats:p>","DOI":"10.1145\/3747519","type":"journal-article","created":{"date-parts":[[2025,8,5]],"date-time":"2025-08-05T16:56:02Z","timestamp":1754412962000},"page":"435-462","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":3,"title":["Fusing Session-Typed Concurrent Programming into Functional Programming"],"prefix":"10.1145","volume":"9","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-8179-2307","authenticated-orcid":false,"given":"Chuta","family":"Sano","sequence":"first","affiliation":[{"name":"McGill University, Montreal, Canada"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-0888-3093","authenticated-orcid":false,"given":"Deepak","family":"Garg","sequence":"additional","affiliation":[{"name":"Max Planck Institute for Software Systems, Saarbruecken, Germany"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-9497-4276","authenticated-orcid":false,"given":"Ryan","family":"Kavanagh","sequence":"additional","affiliation":[{"name":"Universit\u00e9 du Qu\u00e9bec \u00e0 Montr\u00e9al, Montreal, Canada"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-2549-4276","authenticated-orcid":false,"given":"Brigitte","family":"Pientka","sequence":"additional","affiliation":[{"name":"McGill University, Montreal, Canada"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-0746-7514","authenticated-orcid":false,"given":"Bernardo","family":"Toninho","sequence":"additional","affiliation":[{"name":"Instituto Superior T\u00e9cnico - University of Lisbon, Lisbon, Portugal"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2025,8,5]]},"reference":[{"key":"e_1_3_2_2_2","doi-asserted-by":"publisher","unstructured":"Stephanie Balzer Frank Pfenning. 2017. Manifest Sharing with Session Types. In International Conference on Functional Programming (ICFP). ACM 37:1\u201337:29. doi:10.1145\/3110281. Extended version available as Technical Report CMU-CS-17-106R June 2017.","DOI":"10.1145\/3110281"},{"key":"e_1_3_2_3_2","doi-asserted-by":"publisher","unstructured":"Karl Crary. 2010. Higher-order Representation of Substructural Logics. In Proceedings of the 15th International Conference on Functional Programming (ICFP 2010). P. Hudak S. Weirich. ACM Baltimore Maryland 131\u2013142. doi:10.1145\/1863543.1863565.","DOI":"10.1145\/1863543.1863565"},{"key":"e_1_3_2_4_2","doi-asserted-by":"publisher","unstructured":"Ankush Das Frank Pfenning. 2020. Rast: Resource-Aware Session Types with Arithmetic Refinements. In 5th International Conference on Formal Structures for Computation and Deduction (FSCD 2020). Z. Ariola. LIPIcs 167 33:1\u201333:17. doi:10.4230\/LIPIcs.FSCD.2020.33. System description.","DOI":"10.4230\/LIPIcs.FSCD.2020.33"},{"key":"e_1_3_2_5_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.entcs.2008.12.117"},{"key":"e_1_3_2_6_2","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796809990268"},{"key":"e_1_3_2_7_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-662-54434-1_20"},{"key":"e_1_3_2_8_2","doi-asserted-by":"publisher","unstructured":"Hannah Sommerstadt Limin Jia Frank Pfenning. 2018. Session-Typed Concurrent Contracts. In European Symposium on Programming (ESOP\u201918). A. Ahmed (Ed.). Springer LNCS 10801 Thessaloniki Greece 771\u2013798. doi:10.1016\/j.jlamp.2021.100731","DOI":"10.1016\/j.jlamp.2021.100731"},{"key":"e_1_3_2_9_2","doi-asserted-by":"publisher","unstructured":"Kohei Honda. 1993. Types for Dyadic Interaction. In 4th International Conference on Concurrency Theory (CONCUR 1993). E. Best (Ed.). Springer LNCS 715 509\u2013523. doi:10.1007\/3-540-57208-2_35","DOI":"10.1007\/3-540-57208-2_35"},{"key":"e_1_3_2_10_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.scico.2018.08.005"},{"key":"e_1_3_2_11_2","doi-asserted-by":"publisher","DOI":"10.1145\/3498700"},{"key":"e_1_3_2_12_2","doi-asserted-by":"publisher","unstructured":"Wen Kokke Ornela Dardha. 2021. Deadlock-free session types in linear Haskell. Association for Computing Machinery New York NY USA 1\u201313. doi:10.1145\/3471874.3472979","DOI":"10.1145\/3471874.3472979"},{"key":"e_1_3_2_13_2","doi-asserted-by":"publisher","DOI":"10.1145\/2398856.2364572"},{"key":"e_1_3_2_14_2","doi-asserted-by":"publisher","DOI":"10.1145\/1352582.1352591"},{"key":"e_1_3_2_15_2","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796800000289"},{"key":"e_1_3_2_16_2","doi-asserted-by":"publisher","unstructured":"Brigitte Pientka Andreas Abel. 2015. Structural Recursion over Contextual Objects. In 13th International Conference on Typed Lambda Calculi and Applications (TLCA\u201915). Thorsten Altenkirch (Ed.). Leibniz International Proceedings in Informatics (LIPIcs) of Schloss Dagstuhl 273\u2013287. doi:10.4230\/LIPIcs.TLCA.2015.273","DOI":"10.4230\/LIPIcs.TLCA.2015.273"},{"key":"e_1_3_2_17_2","article-title":"Cocon: Computation in Contextual Type Theory","author":"Pientka Brigitte","year":"2019","unstructured":"BrigittePientka,AndreasAbel,FranciscoFerreira,DavidThibodeau, and RebeccaZucchini. 2019. Cocon: Computation in Contextual Type Theory. CoRR abs\/1901.03378 (2019), arXiv:1901.03378 http:\/\/arxiv.org\/abs\/1901.03378","journal-title":"CoRR"},{"key":"e_1_3_2_18_2","doi-asserted-by":"publisher","unstructured":"Brigitte Pientka Andrew Cave. 2015. Inductive Beluga: Programming Proofs. In 25th International Conference on Automated Deduction (CADE 2015). A. Felty A. Middeldorp (Eds.). Springer LNCS 9195 Berlin Germany 272\u2013281. doi:10.1007\/978-3-319-21401-6_18","DOI":"10.1007\/978-3-319-21401-6_18"},{"key":"e_1_3_2_19_2","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796822000016"},{"key":"e_1_3_2_20_2","doi-asserted-by":"publisher","unstructured":"Chuta Sano Deepak Garg Ryan Kavanagh Brigitte Pientka Bernardo Toninho. 2025. Fusing Session-typed Concurrent Programming into Functional Programming - Implementation. doi:10.5281\/zenodo.15643008","DOI":"10.5281\/zenodo.15643008"},{"key":"e_1_3_2_21_2","doi-asserted-by":"publisher","DOI":"10.1145\/3622810"},{"key":"e_1_3_2_22_2","doi-asserted-by":"publisher","unstructured":"Peter Thiemann Vasco T. Vasconcelos. 2016. Context-Free Session Types. In Proceedings of the 21st International Conference on Functional Programming (ICFP). ACM Nara Japan 462\u2013475. doi:10.1145\/2951933.2951926","DOI":"10.1145\/2951933.2951926"},{"key":"e_1_3_2_23_2","doi-asserted-by":"publisher","unstructured":"Bernardo Toninho Lu\u00eds Caires Frank Pfenning. 2013. Higher-Order Processes Functions and Sessions: A Monadic Integration. In Proceedings of the European Symposium on Programming (ESOP\u201913). M. Felleisen P. Gardner (Eds.). Springer LNCS 7792 Rome Italy 350\u2013369. doi:10.1007\/978-3-642-37036-6_20","DOI":"10.1007\/978-3-642-37036-6_20"},{"key":"e_1_3_2_24_2","doi-asserted-by":"publisher","DOI":"10.4204\/EPTCS.401.1"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3747519","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,7,16]],"date-time":"2026-07-16T10:00:30Z","timestamp":1784196030000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3747519"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,8,5]]},"references-count":23,"journal-issue":{"issue":"ICFP","published-print":{"date-parts":[[2025,8,5]]}},"alternative-id":["10.1145\/3747519"],"URL":"https:\/\/doi.org\/10.1145\/3747519","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,8,5]]},"assertion":[{"value":"2025-02-27","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2025-06-27","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2025-08-05","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}