{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,13]],"date-time":"2026-11-13T17:55:26Z","timestamp":1794592526326,"version":"4.9.1"},"reference-count":52,"publisher":"Cambridge University Press (CUP)","license":[{"start":{"date-parts":[[2024,1,23]],"date-time":"2024-01-23T00:00:00Z","timestamp":1705968000000},"content-version":"unspecified","delay-in-days":22,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":["cambridge.org"],"crossmark-restriction":true},"short-container-title":["J. Funct. Prog."],"published-print":{"date-parts":[[2024]]},"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>\n                    We present PolyChor\n                    <jats:inline-formula>\n                      <jats:alternatives>\n                        <jats:inline-graphic xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" mime-subtype=\"png\" xlink:href=\"S0956796823000114_inline1.png\"\/>\n                        <jats:tex-math>$\\lambda$<\/jats:tex-math>\n                      <\/jats:alternatives>\n                    <\/jats:inline-formula>\n                    , a language for higher-order functional\n                    <jats:italic>choreographic programming<\/jats:italic>\n                    \u2014an emerging paradigm for concurrent programming. In choreographic programming, programmers write the desired cooperative behaviour of a system of processes and then compile it into an implementation for each process, a translation called\n                    <jats:italic>endpoint projection<\/jats:italic>\n                    . Unlike its predecessor, Chor\n                    <jats:inline-formula>\n                      <jats:alternatives>\n                        <jats:inline-graphic xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" mime-subtype=\"png\" xlink:href=\"S0956796823000114_inline2.png\"\/>\n                        <jats:tex-math>$\\lambda$<\/jats:tex-math>\n                      <\/jats:alternatives>\n                    <\/jats:inline-formula>\n                    , PolyChor\n                    <jats:inline-formula>\n                      <jats:alternatives>\n                        <jats:inline-graphic xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" mime-subtype=\"png\" xlink:href=\"S0956796823000114_inline3.png\"\/>\n                        <jats:tex-math>$\\lambda$<\/jats:tex-math>\n                      <\/jats:alternatives>\n                    <\/jats:inline-formula>\n                    has both type and\n                    <jats:italic>process<\/jats:italic>\n                    polymorphism inspired by System F\n                    <jats:inline-formula>\n                      <jats:alternatives>\n                        <jats:inline-graphic xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" mime-subtype=\"png\" xlink:href=\"S0956796823000114_inline4.png\"\/>\n                        <jats:tex-math>$_\\omega$<\/jats:tex-math>\n                      <\/jats:alternatives>\n                    <\/jats:inline-formula>\n                    . That is, PolyChor\n                    <jats:inline-formula>\n                      <jats:alternatives>\n                        <jats:inline-graphic xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" mime-subtype=\"png\" xlink:href=\"S0956796823000114_inline5.png\"\/>\n                        <jats:tex-math>$\\lambda$<\/jats:tex-math>\n                      <\/jats:alternatives>\n                    <\/jats:inline-formula>\n                    is the first (higher-order) functional choreographic language which gives programmers the ability to write generic choreographies and determine the participants at runtime. This novel combination of features also allows PolyChor\n                    <jats:inline-formula>\n                      <jats:alternatives>\n                        <jats:inline-graphic xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" mime-subtype=\"png\" xlink:href=\"S0956796823000114_inline6.png\"\/>\n                        <jats:tex-math>$\\lambda$<\/jats:tex-math>\n                      <\/jats:alternatives>\n                    <\/jats:inline-formula>\n                    processes to communicate\n                    <jats:italic>distributed values<\/jats:italic>\n                    , leading to a new and intuitive way to write delegation. While some of the functional features of PolyChor\n                    <jats:inline-formula>\n                      <jats:alternatives>\n                        <jats:inline-graphic xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" mime-subtype=\"png\" xlink:href=\"S0956796823000114_inline7.png\"\/>\n                        <jats:tex-math>$\\lambda$<\/jats:tex-math>\n                      <\/jats:alternatives>\n                    <\/jats:inline-formula>\n                    give it a weaker correspondence between the semantics of choreographies and their endpoint-projected concurrent systems than some other choreographic languages, we still get the hallmark end result of choreographic programming: projected programmes are deadlock-free by design.\n                  <\/jats:p>","DOI":"10.1017\/s0956796823000114","type":"journal-article","created":{"date-parts":[[2024,1,23]],"date-time":"2024-01-23T04:41:10Z","timestamp":1705984870000},"update-policy":"https:\/\/doi.org\/10.1017\/policypage","source":"Crossref","is-referenced-by-count":8,"title":["Alice or Bob?: Process polymorphism in choreographies"],"prefix":"10.1017","volume":"34","author":[{"given":"EVA","family":"GRAVERSEN","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"ANDREW K.","family":"HIRSCH","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-4666-901X","authenticated-orcid":false,"given":"FABRIZIO","family":"MONTESI","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"56","published-online":{"date-parts":[[2024,1,23]]},"reference":[{"key":"S0956796823000114_ref10","doi-asserted-by":"publisher","DOI":"10.1145\/1599410.1599439"},{"key":"S0956796823000114_ref16","unstructured":"Cruz-Filipe, L. , Montesi, F. & Peressotti, M. (2021) Formalizing a turing-complete choreographic language in coq. In Interactive Theorem Proving (ITP)."},{"key":"S0956796823000114_ref50","doi-asserted-by":"publisher","DOI":"10.1145\/2364527.2364568"},{"key":"S0956796823000114_ref19","unstructured":"DeYoung, H. , Caires, L. , Pfenning, F. & Toninho, B. (2012) Cut reduction in linear logic as asynchronous session-typed communication. In Computer Science Logic (CSL)."},{"key":"S0956796823000114_ref42","doi-asserted-by":"publisher","DOI":"10.1145\/359657.359659"},{"key":"S0956796823000114_ref21","doi-asserted-by":"publisher","DOI":"10.1007\/BF01491213"},{"key":"S0956796823000114_ref20","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796809990268"},{"key":"S0956796823000114_ref36","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-39570-8_13"},{"key":"S0956796823000114_ref9","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-74792-5_12"},{"key":"S0956796823000114_ref41","unstructured":"Murphy VII, T. , Crary, K. & Harper, R. (2007) Type-safe distributed programming with ML5. In Trustworthy Global Computer (TGC)."},{"key":"S0956796823000114_ref3","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-15375-4_16"},{"key":"S0956796823000114_ref2","doi-asserted-by":"publisher","DOI":"10.1093\/comjnl\/30.5.437"},{"key":"S0956796823000114_ref5","doi-asserted-by":"publisher","DOI":"10.1145\/2429069.2429101"},{"key":"S0956796823000114_ref31","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-99336-8_19"},{"key":"S0956796823000114_ref43","unstructured":"Object Management Group. (2017) Unified modelling language, version 2.5.1."},{"key":"S0956796823000114_ref17","first-page":"1","article-title":"Dynamic choreographies: Theory and implementation","volume":"13","author":"Dalla Preda","year":"2017","journal-title":"Logical Methods Comput. Sci. (LMCS)"},{"key":"S0956796823000114_ref40","first-page":"203","volume-title":"In TLCA","author":"Mostrous","year":"2009"},{"key":"S0956796823000114_ref25","doi-asserted-by":"publisher","DOI":"10.1145\/3498684"},{"key":"S0956796823000114_ref45","unstructured":"Scalas, A. , Dardha, O. , Hu, R. & Yoshida, N. (2017) A linear decomposition of multiparty sessions for safe distributed programming. In 31st European Conference on Object-Oriented Programming, ECOOP 2017, June 19\u201323, 2017, Barcelona, Spain. Schloss Dagstuhl - Leibniz-Zentrum f\u00fcr Informatik, pp. 24:1\u201324:31."},{"key":"S0956796823000114_ref49","unstructured":"The World Wide Web Consortium (W3C). (2004) Ws choreography model overview. Accessed January 29, 2021."},{"key":"S0956796823000114_ref27","doi-asserted-by":"publisher","DOI":"10.1007\/BFb0053567"},{"key":"S0956796823000114_ref52","unstructured":"Zongyan, Q. , Xiangpeng, Z. , Chao, C. & Hongli, Y. (2007) Towards the theoretical foundation of choreography. In The Web Conference (WWW)."},{"key":"S0956796823000114_ref28","doi-asserted-by":"publisher","DOI":"10.1145\/2827695"},{"key":"S0956796823000114_ref4","doi-asserted-by":"publisher","DOI":"10.1145\/2220365.2220367"},{"key":"S0956796823000114_ref13","doi-asserted-by":"publisher","DOI":"10.1145\/3019612.3019901"},{"key":"S0956796823000114_ref7","doi-asserted-by":"publisher","DOI":"10.1016\/j.tcs.2019.09.027"},{"key":"S0956796823000114_ref14","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-60225-7_7"},{"key":"S0956796823000114_ref8","first-page":"102499","article-title":"A polymorphic RPC calculus","volume":"197","author":"Choi","year":"2020","journal-title":"SCP"},{"key":"S0956796823000114_ref6","first-page":"1","article-title":"On global types and multi-party session","volume":"8","author":"Castagna","year":"2012","journal-title":"Log. Methods Comput. Sci."},{"key":"S0956796823000114_ref22","doi-asserted-by":"publisher","DOI":"10.1145\/3632398"},{"key":"S0956796823000114_ref34","unstructured":"Lindley, S. & Morris, J. (2017) Lightweight functional session types. In Behavioural Types: from Theory to Tools, Gay, S. & Ravara, A. (eds). River Publishers. chapter 12."},{"key":"S0956796823000114_ref35","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-662-46669-8_23"},{"key":"S0956796823000114_ref24","unstructured":"Girard, J.-Y. (1972) Interpr\u00e9tation fonctionnelle et \u00e9limination des coupures de l\u2019artihm\u00e9tique d\u2019ordre sup\u00e9rieur. PhD Thesis. Universit\u00e9 Paris 7."},{"key":"S0956796823000114_ref48","unstructured":"The Coq Development Team. (2004) The Coq proof assistant reference manual. LogiCal Project. Version 8.0."},{"key":"S0956796823000114_ref51","first-page":"17","article-title":"Implementing a language for distributed systems: Choices and experiences with type level and macro programming in scala","volume":"4","author":"Weisenburger","year":"2020","journal-title":"ASEP"},{"key":"S0956796823000114_ref38","doi-asserted-by":"publisher","DOI":"10.1017\/9781108981491"},{"key":"S0956796823000114_ref15","doi-asserted-by":"publisher","DOI":"10.1016\/j.tcs.2019.07.005"},{"key":"S0956796823000114_ref18","doi-asserted-by":"publisher","DOI":"10.1145\/2370776.2370794"},{"key":"S0956796823000114_ref23","unstructured":"Giallorenzo, S. , Montesi, F. , Peressotti, M. , Richter, D. , Salvaneschi, G. & Weisenburger, P. (2021) Multiparty languages: The choreographic and multitier cases (pearl). In European Conference on Object-Oriented Programming (ECOOP)."},{"key":"S0956796823000114_ref11","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-031-17715-6_15"},{"key":"S0956796823000114_ref26","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-57208-2_35"},{"key":"S0956796823000114_ref29","unstructured":"International Telecommunication Union. (1996) Recommendation Z.120: Message sequence chart."},{"key":"S0956796823000114_ref32","doi-asserted-by":"publisher","DOI":"10.1007\/11817949_16"},{"key":"S0956796823000114_ref33","doi-asserted-by":"publisher","DOI":"10.4204\/EPTCS.34.7"},{"key":"S0956796823000114_ref37","unstructured":"Montesi, F. (2013) Choreographic Programming. PhD Thesis. IT University of Copenhagen."},{"key":"S0956796823000114_ref39","first-page":"321","volume-title":"In TLCA","author":"Mostrous","year":"2007"},{"key":"S0956796823000114_ref47","doi-asserted-by":"publisher","DOI":"10.1145\/3607849"},{"key":"S0956796823000114_ref44","unstructured":"Pohjola, J. \u00c5. , G\u00f3mez-Londo\u00f1o, A. , Shaker, J. & Norrish, M. (2022) Kalas: A verified, end-to-end compiler for a choreographic language. In 13th International Conference on Interactive Theorem Proving, ITP 2022, August 7\u201310, 2022, Haifa, Israel. Schloss Dagstuhl - Leibniz-Zentrum f\u00fcr Informatik, pp. 27:1\u201327:18."},{"key":"S0956796823000114_ref12","unstructured":"Cruz-Filipe, L. , Graversen, E. , Lugovic, L. , Montesi, F. & Peressotti, M. (2023) Modular compilation for higher-order functional choreographies. In ECOOP."},{"key":"S0956796823000114_ref46","doi-asserted-by":"publisher","DOI":"10.1145\/3290343"},{"key":"S0956796823000114_ref1","doi-asserted-by":"publisher","DOI":"10.1145\/1639950.1640073"},{"key":"S0956796823000114_ref30","doi-asserted-by":"publisher","DOI":"10.1145\/3547638"}],"container-title":["Journal of Functional Programming"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.cambridge.org\/core\/services\/aop-cambridge-core\/content\/view\/S0956796823000114","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,5,26]],"date-time":"2026-05-26T22:37:02Z","timestamp":1779835022000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.cambridge.org\/core\/product\/identifier\/S0956796823000114\/type\/journal_article"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024]]},"references-count":52,"alternative-id":["S0956796823000114"],"URL":"https:\/\/doi.org\/10.1017\/s0956796823000114","relation":{},"ISSN":["0956-7968","1469-7653"],"issn-type":[{"value":"0956-7968","type":"print"},{"value":"1469-7653","type":"electronic"}],"subject":[],"published":{"date-parts":[[2024]]},"assertion":[{"value":"\u00a9 The Author(s), 2024. Published by Cambridge University Press","name":"copyright","label":"Copyright","group":{"name":"copyright_and_licensing","label":"Copyright and Licensing"}},{"value":"This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (https:\/\/creativecommons.org\/licenses\/by\/4.0\/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.","name":"license","label":"License","group":{"name":"copyright_and_licensing","label":"Copyright and Licensing"}},{"value":"This content has been made available to all.","name":"free","label":"Free to read"}],"article-number":"e1"}}