{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,2]],"date-time":"2026-10-02T07:49:10Z","timestamp":1790927350612,"version":"4.1.0"},"reference-count":85,"publisher":"Association for Computing Machinery (ACM)","issue":"3","license":[{"start":{"date-parts":[[2021,9,3]],"date-time":"2021-09-03T00:00:00Z","timestamp":1630627200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"funder":[{"name":"Hong Kong Research Grant Council","award":["17210617 and 17209519"],"award-info":[{"award-number":["17210617 and 17209519"]}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Program. Lang. Syst."],"published-print":{"date-parts":[[2021,9,30]]},"abstract":"<jats:p>Modularity is a key concern in programming. However, programming languages remain limited in terms of modularity and extensibility. Small canonical problems, such as the Expression Problem (EP), illustrate some of the basic issues: the dilemma between choosing one kind of extensibility over another one in most programming languages. Other problems, such as how to express dependencies in a modular way, add up to the basic issues and remain a significant challenge.<\/jats:p>\n          <jats:p>\n            This article presents a new statically typed modular programming style called\n            <jats:italic>Compositional Programming<\/jats:italic>\n            . In Compositional Programming, there is no EP: It is easy to get extensibility in multiple dimensions (i.e., it is easy to add new variants as well as new operations). Compositional Programming offers an alternative way to model data structures that differs from both algebraic datatypes in functional programming and conventional OOP class hierarchies. We introduce four key concepts for Compositional Programming:\n            <jats:italic>compositional interfaces<\/jats:italic>\n            ,\n            <jats:italic>compositional traits<\/jats:italic>\n            ,\n            <jats:italic>method patterns<\/jats:italic>\n            , and\n            <jats:italic>nested trait composition<\/jats:italic>\n            . Altogether, these concepts allow us to naturally solve challenges such as the Expression Problem, model attribute-grammar-like programs, and generally deal with modular programs with\n            <jats:italic>complex dependencies<\/jats:italic>\n            . We present a language design, called\n            <jats:sans-serif>CP<\/jats:sans-serif>\n            , which is proved to be type-safe, together with several examples and three case studies.\n          <\/jats:p>","DOI":"10.1145\/3460228","type":"journal-article","created":{"date-parts":[[2021,9,4]],"date-time":"2021-09-04T03:51:15Z","timestamp":1630727475000},"page":"1-61","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":21,"title":["Compositional Programming"],"prefix":"10.1145","volume":"43","author":[{"given":"Weixin","family":"Zhang","sequence":"first","affiliation":[{"name":"University of Bristol Bristol United Kingdom and The University of Hong Kong, Hong Kong, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Yaozhu","family":"Sun","sequence":"additional","affiliation":[{"name":"The University of Hong Kong, Hong Kong, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Bruno C. D. S.","family":"Oliveira","sequence":"additional","affiliation":[{"name":"The University of Hong Kong, Hong Kong, China"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2021,9,3]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-662-54434-1_1"},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796801004257"},{"key":"e_1_2_1_3_1","volume-title":"Transactions on","author":"Aracic Ivica","unstructured":"Ivica Aracic , Vaidas Gasiunas , Mira Mezini , and Klaus Ostermann . 2006. An overview of CaesarJ . In Transactions on Aspect-oriented Software Development I. Springer , 135\u2013173. Ivica Aracic, Vaidas Gasiunas, Mira Mezini, and Klaus Ostermann. 2006. An overview of CaesarJ. In Transactions on Aspect-oriented Software Development I. Springer, 135\u2013173."},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.2307\/2273659"},{"key":"e_1_2_1_5_1","volume-title":"Proceedings of the 32nd European Conference on Object-oriented Programming (ECOOP\u201918)","author":"Bi Xuan","unstructured":"Xuan Bi and Bruno C . d. S. Oliveira. 2018. Typed first-class traits . In Proceedings of the 32nd European Conference on Object-oriented Programming (ECOOP\u201918) . Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik. Xuan Bi and Bruno C. d. S. Oliveira. 2018. Typed first-class traits. In Proceedings of the 32nd European Conference on Object-oriented Programming (ECOOP\u201918). Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik."},{"key":"e_1_2_1_6_1","volume-title":"Proceedings of the 32nd European Conference on Object-oriented Programming (ECOOP\u201918)","author":"Bi Xuan","year":"2018","unstructured":"Xuan Bi , Bruno C. d. S. Oliveira , and Tom Schrijvers . 2018 . The essence of nested composition . In Proceedings of the 32nd European Conference on Object-oriented Programming (ECOOP\u201918) . Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik. Xuan Bi, Bruno C. d. S. Oliveira, and Tom Schrijvers. 2018. The essence of nested composition. In Proceedings of the 32nd European Conference on Object-oriented Programming (ECOOP\u201918). Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik."},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-17184-1_14"},{"key":"e_1_2_1_8_1","volume-title":"Proceedings of the 29th European Conference on Object-oriented Programming (ECOOP\u201915)","author":"Biboudis Aggelos","year":"2015","unstructured":"Aggelos Biboudis , Nick Palladinos , George Fourtounis , and Yannis Smaragdakis . 2015 . Streams a la carte: Extensible pipelines with object algebras . In Proceedings of the 29th European Conference on Object-oriented Programming (ECOOP\u201915) . Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik. Aggelos Biboudis, Nick Palladinos, George Fourtounis, and Yannis Smaragdakis. 2015. Streams a la carte: Extensible pipelines with object algebras. In Proceedings of the 29th European Conference on Object-oriented Programming (ECOOP\u201915). Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik."},{"key":"e_1_2_1_9_1","volume-title":"On the Interaction Between Unrestricted Union and Intersection Types and Computational Effects. Master\u2019s thesis","author":"Blaauwbroek Lasse","unstructured":"Lasse Blaauwbroek . 2017. On the Interaction Between Unrestricted Union and Intersection Types and Computational Effects. Master\u2019s thesis . Technical University Eindhoven . Lasse Blaauwbroek. 2017. On the Interaction Between Unrestricted Union and Intersection Types and Computational Effects. Master\u2019s thesis. Technical University Eindhoven."},{"key":"e_1_2_1_11_1","volume-title":"Mixin-based Inheritance. In Proceedings of the European Conference on Object-oriented Programming and on Object-oriented Programming Systems, Languages, and Applications (OOPSLA\/ECOOP\u201990)","author":"Bracha Gilad","year":"1990","unstructured":"Gilad Bracha and William Cook . 1990 . Mixin-based Inheritance. In Proceedings of the European Conference on Object-oriented Programming and on Object-oriented Programming Systems, Languages, and Applications (OOPSLA\/ECOOP\u201990) . Gilad Bracha and William Cook. 1990. Mixin-based Inheritance. In Proceedings of the European Conference on Object-oriented Programming and on Object-oriented Programming Systems, Languages, and Applications (OOPSLA\/ECOOP\u201990)."},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-14107-2_20"},{"key":"e_1_2_1_13_1","volume-title":"G. Leavens, and B. Pierce.","author":"Bruce K.","year":"1996","unstructured":"K. Bruce , L. Cardelli , G. Castagna , The Hopkins Object Group , G. Leavens, and B. Pierce. 1996 . On binary methods. Theor. Pract. Obj. Syst . 1, 3 (1996). K. Bruce, L. Cardelli, G. Castagna, The Hopkins Object Group, G. Leavens, and B. Pierce. 1996. On binary methods. Theor. Pract. Obj. Syst. 1, 3 (1996)."},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1007\/BFb0054106"},{"key":"e_1_2_1_15_1","volume-title":"HOPE: An Experimental Applicative Language. Technical Report CSR-62-80. Computer Science Dept","author":"Burstall R. M.","year":"1981","unstructured":"R. M. Burstall , D. B. MacQueen , and D. T. Sannella . 1981 . HOPE: An Experimental Applicative Language. Technical Report CSR-62-80. Computer Science Dept , University of Edinburgh. R. M. Burstall, D. B. MacQueen, and D. T. Sannella. 1981. HOPE: An Experimental Applicative Language. Technical Report CSR-62-80. Computer Science Dept, University of Edinburgh."},{"key":"e_1_2_1_16_1","volume-title":"Extensible Records in a Pure Calculus of Subtyping","author":"Cardelli Luca","unstructured":"Luca Cardelli . 1994. Extensible Records in a Pure Calculus of Subtyping . The MIT Press , Cambridge, MA . Luca Cardelli. 1994. Extensible Records in a Pure Calculus of Subtyping. The MIT Press, Cambridge, MA."},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1017\/S0960129500000049"},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796809007205"},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1145\/581690.581698"},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1145\/1809028.1806612"},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1145\/1218563.1218578"},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.1145\/74877.74922"},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.1145\/3009837.3009882"},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1145\/232629.232654"},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796813000270"},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.5555\/646158.680013"},{"key":"e_1_2_1_28_1","volume-title":"Proceedings of the On Mechanisms for Specialization. 27","author":"Ernst Erik","year":"2004","unstructured":"Erik Ernst . 2004 . The expression problem, Scandinavian style . In Proceedings of the On Mechanisms for Specialization. 27 . Erik Ernst. 2004. The expression problem, Scandinavian style. In Proceedings of the On Mechanisms for Specialization. 27."},{"key":"e_1_2_1_29_1","volume-title":"Proceedings of the 33rd ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL\u201906)","author":"Ernst Erik","unstructured":"Erik Ernst , Klaus Ostermann , and William R. Cook . 2006. A virtual class calculus . In Proceedings of the 33rd ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL\u201906) . Erik Ernst, Klaus Ostermann, and William R. Cook. 2006. A virtual class calculus. In Proceedings of the 33rd ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL\u201906)."},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/268946.268961"},{"key":"e_1_2_1_31_1","volume-title":"Design Patterns: Elements of Reusable Object-oriented Software","author":"Gamma Erich","year":"1994","unstructured":"Erich Gamma , Richard Helm , Ralph Johnson , and John Vlissides . 1994 . Design Patterns: Elements of Reusable Object-oriented Software . Addison-Wesley . Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides. 1994. Design Patterns: Elements of Reusable Object-oriented Software. Addison-Wesley."},{"key":"e_1_2_1_32_1","volume-title":"Proceedings of the Workshop on Foundations of Software Engineering.","author":"Garrigue Jacques","year":"2000","unstructured":"Jacques Garrigue . 2000 . Code reuse through polymorphic variants . In Proceedings of the Workshop on Foundations of Software Engineering. Jacques Garrigue. 2000. Code reuse through polymorphic variants. In Proceedings of the Workshop on Foundations of Software Engineering."},{"key":"e_1_2_1_33_1","doi-asserted-by":"publisher","DOI":"10.1145\/2628136.2628138"},{"key":"e_1_2_1_34_1","doi-asserted-by":"publisher","DOI":"10.1007\/BF00260922"},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.1145\/165854.165932"},{"key":"e_1_2_1_36_1","volume-title":"Mathematics of Program Construction","author":"Hinze Ralf","unstructured":"Ralf Hinze . 2004. An algebra of scans . In Mathematics of Program Construction . Springer Berlin Heidelberg , 186\u2013210. DOI:https:\/\/doi.org\/10.1007\/978-3-540-27764-4_11 10.1007\/978-3-540-27764-4_11 Ralf Hinze. 2004. An algebra of scans. In Mathematics of Program Construction. Springer Berlin Heidelberg, 186\u2013210. DOI:https:\/\/doi.org\/10.1007\/978-3-540-27764-4_11"},{"key":"e_1_2_1_37_1","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796806006022"},{"key":"e_1_2_1_38_1","doi-asserted-by":"publisher","DOI":"10.1145\/1449913.1449935"},{"key":"e_1_2_1_39_1","volume-title":"Proceedings of the 34th European Conference on Object-oriented Programming (ECOOP\u201920)(Leibniz International Proceedings in Informatics (LIPIcs)","volume":"10","author":"Huang Xuejing","year":"2020","unstructured":"Xuejing Huang and Bruno C . d. S. Oliveira. 2020. A type-directed operational semantics for a calculus with a merge operator . In Proceedings of the 34th European Conference on Object-oriented Programming (ECOOP\u201920)(Leibniz International Proceedings in Informatics (LIPIcs) , Vol. 166). DOI:https:\/\/doi.org\/ 10 .4230\/LIPIcs.ECOOP. 2020 .26 10.4230\/LIPIcs.ECOOP.2020.26 Xuejing Huang and Bruno C. d. S. Oliveira. 2020. A type-directed operational semantics for a calculus with a merge operator. In Proceedings of the 34th European Conference on Object-oriented Programming (ECOOP\u201920)(Leibniz International Proceedings in Informatics (LIPIcs), Vol. 166). DOI:https:\/\/doi.org\/10.4230\/LIPIcs.ECOOP.2020.26"},{"key":"e_1_2_1_40_1","volume-title":"Pierce","author":"Igarashi Atsushi","year":"1999","unstructured":"Atsushi Igarashi and Benjamin C . Pierce . 1999 . Foundations for virtual types. In Proceedings of the European Conference on Object-oriented Programming. Springer , 161\u2013185. Atsushi Igarashi and Benjamin C. Pierce. 1999. Foundations for virtual types. In Proceedings of the European Conference on Object-oriented Programming. Springer, 161\u2013185."},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.1007\/11575467_12"},{"key":"e_1_2_1_42_1","volume-title":"Proceedings of the ACM SIGPLAN International Conference on Generative Programming: Concepts and Experiences.","author":"Inostroza Pablo","unstructured":"Pablo Inostroza and Tijs van der Storm. 2015. Modular interpreters for the masses: Implicit context propagation using object algebras . In Proceedings of the ACM SIGPLAN International Conference on Generative Programming: Concepts and Experiences. Pablo Inostroza and Tijs van der Storm. 2015. Modular interpreters for the masses: Implicit context propagation using object algebras. In Proceedings of the ACM SIGPLAN International Conference on Generative Programming: Concepts and Experiences."},{"key":"e_1_2_1_43_1","volume-title":"Proceedings of the Symposium on Implementation and Application of Functional Languages. Springer, 233\u2013248","author":"Jaskelioff Mauro","year":"2008","unstructured":"Mauro Jaskelioff . 2008 . Monatron: An extensible monad transformer library . In Proceedings of the Symposium on Implementation and Application of Functional Languages. Springer, 233\u2013248 . Mauro Jaskelioff. 2008. Monatron: An extensible monad transformer library. In Proceedings of the Symposium on Implementation and Application of Functional Languages. Springer, 233\u2013248."},{"key":"e_1_2_1_44_1","volume-title":"Proceedings of the ECOOP Workshop on Formal Techniques for Java Programs (FTfJP\u201904)","author":"Jolly Paul","year":"2004","unstructured":"Paul Jolly , Sophia Drossopoulou , Christopher Anderson , and Klaus Ostermann . 2004 . Simple dependent types: Concord . In Proceedings of the ECOOP Workshop on Formal Techniques for Java Programs (FTfJP\u201904) . Paul Jolly, Sophia Drossopoulou, Christopher Anderson, and Klaus Ostermann. 2004. Simple dependent types: Concord. In Proceedings of the ECOOP Workshop on Formal Techniques for Java Programs (FTfJP\u201904)."},{"key":"e_1_2_1_45_1","doi-asserted-by":"publisher","DOI":"10.1007\/BF01177548"},{"key":"e_1_2_1_46_1","doi-asserted-by":"publisher","DOI":"10.1007\/BFb0053381"},{"key":"e_1_2_1_47_1","volume-title":"Madsen","author":"Knudsen Jorgen Lindskov","year":"1994","unstructured":"Jorgen Lindskov Knudsen , Boris Magnusson , Mats Lofgren , and Ole L . Madsen . 1994 . Object Oriented Software Development Environments: The Mjolner Approach. Prentice-Hall , Inc. Jorgen Lindskov Knudsen, Boris Magnusson, Mats Lofgren, and Ole L. Madsen. 1994. Object Oriented Software Development Environments: The Mjolner Approach. Prentice-Hall, Inc."},{"key":"e_1_2_1_48_1","doi-asserted-by":"publisher","DOI":"10.1007\/BF01692511"},{"key":"e_1_2_1_49_1","doi-asserted-by":"publisher","DOI":"10.5555\/645938.671208"},{"key":"e_1_2_1_50_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-03013-0_12"},{"key":"e_1_2_1_51_1","volume-title":"Proceedings of the 29th European Conference on Object-oriented Programming (ECOOP\u201915)","author":"Lee Joseph","year":"2015","unstructured":"Joseph Lee , Jonathan Aldrich , Troy Shaw , and Alex Potanin . 2015 . A theory of tagged objects . In Proceedings of the 29th European Conference on Object-oriented Programming (ECOOP\u201915) . Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik. Joseph Lee, Jonathan Aldrich, Troy Shaw, and Alex Potanin. 2015. A theory of tagged objects. In Proceedings of the 29th European Conference on Object-oriented Programming (ECOOP\u201915). Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik."},{"key":"e_1_2_1_52_1","first-page":"179","article-title":"Extensible records with scoped labels","volume":"6","author":"Leijen Daan","year":"2005","unstructured":"Daan Leijen . 2005 . Extensible records with scoped labels . Trends Funct. Prog. 6 (2005), 179 \u2013 194 . Daan Leijen. 2005. Extensible records with scoped labels. Trends Funct. Prog. 6 (2005), 179\u2013194.","journal-title":"Trends Funct. Prog."},{"key":"e_1_2_1_53_1","doi-asserted-by":"publisher","DOI":"10.1145\/199448.199528"},{"key":"e_1_2_1_54_1","doi-asserted-by":"publisher","DOI":"10.1145\/800055.802036"},{"key":"e_1_2_1_55_1","doi-asserted-by":"publisher","DOI":"10.1145\/74877.74919"},{"key":"e_1_2_1_56_1","volume-title":"Object-oriented Programming in the BETA Programming Language","author":"Madsen Ole Lehrmann","unstructured":"Ole Lehrmann Madsen , Birger M\u00f8ller-Pedersen , and Kristen Nygaard . 1993. Object-oriented Programming in the BETA Programming Language . Addison-Wesley . Ole Lehrmann Madsen, Birger M\u00f8ller-Pedersen, and Kristen Nygaard. 1993. Object-oriented Programming in the BETA Programming Language. Addison-Wesley."},{"key":"e_1_2_1_57_1","volume-title":"Object-oriented Software Construction","author":"Meyer Bertrand","unstructured":"Bertrand Meyer . 1988. Object-oriented Software Construction . Prentice Hall . Bertrand Meyer. 1988. Object-oriented Software Construction. Prentice Hall."},{"key":"e_1_2_1_58_1","doi-asserted-by":"publisher","DOI":"10.1145\/1160074.1159813"},{"key":"e_1_2_1_59_1","volume-title":"Proceedings of the 19th ACM SIGPLAN Conference on Object-oriented Programming, Systems, Languages, and Applications. 99\u2013115","author":"Nystrom Nathaniel","unstructured":"Nathaniel Nystrom , Stephen Chong , and Andrew C. Myers . 2004. Scalable extensibility via nested inheritance . In Proceedings of the 19th ACM SIGPLAN Conference on Object-oriented Programming, Systems, Languages, and Applications. 99\u2013115 . Nathaniel Nystrom, Stephen Chong, and Andrew C. Myers. 2004. Scalable extensibility via nested inheritance. In Proceedings of the 19th ACM SIGPLAN Conference on Object-oriented Programming, Systems, Languages, and Applications. 99\u2013115."},{"key":"e_1_2_1_60_1","doi-asserted-by":"publisher","DOI":"10.1145\/1167515.1167476"},{"key":"e_1_2_1_62_1","doi-asserted-by":"publisher","DOI":"10.1145\/1094811.1094815"},{"key":"e_1_2_1_63_1","volume-title":"Proceedings of the 26th European Conference on Object-oriented Programming (ECOOP\u201912)","author":"Bruno C. d.","unstructured":"Bruno C. d. S. Oliveira and William R. Cook. 2012. Extensibility for the masses: Practical extensibility with object algebras . In Proceedings of the 26th European Conference on Object-oriented Programming (ECOOP\u201912) . DOI:https:\/\/doi.org\/10.1007\/978-3-642-31057-7_2 10.1007\/978-3-642-31057-7_2 Bruno C. d. S. Oliveira and William R. Cook. 2012. Extensibility for the masses: Practical extensibility with object algebras. In Proceedings of the 26th European Conference on Object-oriented Programming (ECOOP\u201912). DOI:https:\/\/doi.org\/10.1007\/978-3-642-31057-7_2"},{"key":"e_1_2_1_64_1","volume-title":"Ralf Hinze, and Andres L\u00f6h.","author":"Bruno","year":"2006","unstructured":"Bruno C. d. S. Oliveira , Ralf Hinze, and Andres L\u00f6h. 2006 . Extensible and modular generics for the masses. In Trends in Functional Programming . 199\u2013216. Bruno C. d. S. Oliveira, Ralf Hinze, and Andres L\u00f6h. 2006. Extensible and modular generics for the masses. In Trends in Functional Programming. 199\u2013216."},{"key":"e_1_2_1_65_1","doi-asserted-by":"publisher","DOI":"10.1145\/2951913.2951945"},{"key":"e_1_2_1_66_1","volume-title":"Proceedings of the 27th European Conference on Object-oriented Programming. DOI:https:\/\/doi.org\/10","author":"Oliveira Bruno C. d. S.","unstructured":"Bruno C. d. S. Oliveira , Tijs van der Storm, Alex Loh, and William R. Cook. 2013. Feature-oriented programming with object algebras . In Proceedings of the 27th European Conference on Object-oriented Programming. DOI:https:\/\/doi.org\/10 .1007\/978-3-642-39038-8_2 10.1007\/978-3-642-39038-8_2 Bruno C. d. S. Oliveira, Tijs van der Storm, Alex Loh, and William R. Cook. 2013. Feature-oriented programming with object algebras. In Proceedings of the 27th European Conference on Object-oriented Programming. DOI:https:\/\/doi.org\/10.1007\/978-3-642-39038-8_2"},{"key":"e_1_2_1_67_1","doi-asserted-by":"publisher","DOI":"10.1145\/345099.345100"},{"key":"e_1_2_1_68_1","volume-title":"van Der Linden","author":"Pohl Klaus","year":"2005","unstructured":"Klaus Pohl , G\u00fcnter B\u00f6ckle , and Frank J . van Der Linden . 2005 . Software Product Line Engineering: Foundations, Principles and Techniques. Springer Science & Business Media . Klaus Pohl, G\u00fcnter B\u00f6ckle, and Frank J. van Der Linden. 2005. Software Product Line Engineering: Foundations, Principles and Techniques. Springer Science & Business Media."},{"key":"e_1_2_1_69_1","doi-asserted-by":"publisher","DOI":"10.1007\/BFb0014562"},{"key":"e_1_2_1_70_1","doi-asserted-by":"publisher","DOI":"10.1007\/BFb0053389"},{"key":"e_1_2_1_71_1","doi-asserted-by":"publisher","DOI":"10.1145\/2660193.2660237"},{"key":"e_1_2_1_72_1","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-46425-5_22"},{"key":"e_1_2_1_73_1","doi-asserted-by":"publisher","DOI":"10.1145\/507635.507644"},{"key":"e_1_2_1_74_1","volume-title":"Black","author":"Sch\u00e4rli Nathanael","year":"2003","unstructured":"Nathanael Sch\u00e4rli , St\u00e9phane Ducasse , Oscar Nierstrasz , and Andrew P . Black . 2003 . Traits : Composable units of behaviour. In Proceedings of the European Conference on Object-oriented Programming. Springer , 248\u2013274. Nathanael Sch\u00e4rli, St\u00e9phane Ducasse, Oscar Nierstrasz, and Andrew P. Black. 2003. Traits: Composable units of behaviour. In Proceedings of the European Conference on Object-oriented Programming. Springer, 248\u2013274."},{"key":"e_1_2_1_75_1","volume-title":"Proceedings of the 16th ACM SIGPLAN International Conference on Functional Programming. 32\u201344","author":"Schrijvers Tom","unstructured":"Tom Schrijvers and Bruno C . d. S. Oliveira. 2011. Monads, zippers and views: Virtualizing the monad stack . In Proceedings of the 16th ACM SIGPLAN International Conference on Functional Programming. 32\u201344 . Tom Schrijvers and Bruno C. d. S. Oliveira. 2011. Monads, zippers and views: Virtualizing the monad stack. In Proceedings of the 16th ACM SIGPLAN International Conference on Functional Programming. 32\u201344."},{"key":"e_1_2_1_76_1","volume-title":"Proceedings of the ACM SIGPLAN Workshop on Types in Language in Design and Implementation.","author":"Sulzmann M.","unstructured":"M. Sulzmann , M. M. T. Chakravarty , S. L. Peyton-Jones , and K. Donnelly . 2007. System F with type equality coercions . In Proceedings of the ACM SIGPLAN Workshop on Types in Language in Design and Implementation. M. Sulzmann, M. M. T. Chakravarty, S. L. Peyton-Jones, and K. Donnelly. 2007. System F with type equality coercions. In Proceedings of the ACM SIGPLAN Workshop on Types in Language in Design and Implementation."},{"key":"e_1_2_1_77_1","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796808006758"},{"key":"e_1_2_1_78_1","doi-asserted-by":"publisher","DOI":"10.1145\/2384616.2384674"},{"key":"e_1_2_1_79_1","volume-title":"Proceedings of the International Conference on Software Engineering. IEEE, 107\u2013119","author":"Tarr Peri","unstructured":"Peri Tarr , Harold Ossher , William Harrison , and Stanley M. Sutton . 1999. N degrees of separation: Multi-dimensional separation of concerns . In Proceedings of the International Conference on Software Engineering. IEEE, 107\u2013119 . Peri Tarr, Harold Ossher, William Harrison, and Stanley M. Sutton. 1999. N degrees of separation: Multi-dimensional separation of concerns. In Proceedings of the International Conference on Software Engineering. IEEE, 107\u2013119."},{"key":"e_1_2_1_80_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-24851-4_6"},{"key":"e_1_2_1_81_1","volume-title":"ICFP: G: Type Inference for Disjoint Intersection Types. https:\/\/people.cs.kuleuven.be\/ birthe.vandenberg\/cite_SRC.html.","author":"van den Berg Birthe","year":"2020","unstructured":"Birthe van den Berg . 2020 . ICFP: G: Type Inference for Disjoint Intersection Types. https:\/\/people.cs.kuleuven.be\/ birthe.vandenberg\/cite_SRC.html. Birthe van den Berg. 2020. ICFP: G: Type Inference for Disjoint Intersection Types. https:\/\/people.cs.kuleuven.be\/ birthe.vandenberg\/cite_SRC.html."},{"key":"e_1_2_1_82_1","doi-asserted-by":"publisher","DOI":"10.1145\/143165.143169"},{"key":"e_1_2_1_83_1","volume-title":"The Expression Problem. (Nov","author":"Wadler Philip","year":"1998","unstructured":"Philip Wadler . 1998. The Expression Problem. (Nov . 1998 ). Note to Java Genericity mailing list.https:\/\/homepages.inf.ed.ac.uk\/wadler\/papers\/expression\/expression.txt. Philip Wadler. 1998. The Expression Problem. (Nov. 1998). Note to Java Genericity mailing list.https:\/\/homepages.inf.ed.ac.uk\/wadler\/papers\/expression\/expression.txt."},{"key":"e_1_2_1_84_1","volume-title":"d. S. Oliveira","author":"Wang Yanlin","year":"2016","unstructured":"Yanlin Wang and Bruno C . d. S. Oliveira . 2016 . The expression problem, trivially! In Proceedings of the 15th International Conference on Modularity (MODULARITY\u2019 16). 37\u201341. DOI:https:\/\/doi.org\/10.1145\/2889443.2889448 10.1145\/2889443.2889448 Yanlin Wang and Bruno C. d. S. Oliveira. 2016. The expression problem, trivially! In Proceedings of the 15th International Conference on Modularity (MODULARITY\u201916). 37\u201341. DOI:https:\/\/doi.org\/10.1145\/2889443.2889448"},{"key":"e_1_2_1_85_1","volume-title":"Proceedings of the Foundations of Object-oriented Languages Conference (FOOL\u201905)","author":"Zenger Mathhias","year":"2005","unstructured":"Mathhias Zenger and Martin Odersky . 2005 . Independently extensible solutions to the expression problem . In Proceedings of the Foundations of Object-oriented Languages Conference (FOOL\u201905) . Mathhias Zenger and Martin Odersky. 2005. Independently extensible solutions to the expression problem. In Proceedings of the Foundations of Object-oriented Languages Conference (FOOL\u201905)."},{"key":"e_1_2_1_86_1","volume-title":"Proceedings of the 31st European Conference on Object-oriented Programming. DOI:https:\/\/doi.org\/10","author":"Zhang Weixin","year":"2017","unstructured":"Weixin Zhang and Bruno C . d. S. Oliveira. 2017. EVF: An extensible and expressive visitor framework for programming language reuse . In Proceedings of the 31st European Conference on Object-oriented Programming. DOI:https:\/\/doi.org\/10 .4230\/LIPIcs.ECOOP. 2017 .29 10.4230\/LIPIcs.ECOOP.2017.29 Weixin Zhang and Bruno C. d. S. Oliveira. 2017. EVF: An extensible and expressive visitor framework for programming language reuse. In Proceedings of the 31st European Conference on Object-oriented Programming. DOI:https:\/\/doi.org\/10.4230\/LIPIcs.ECOOP.2017.29"},{"key":"e_1_2_1_87_1","first-page":"1","article-title":"Shallow EDSLs and object-oriented programming: Beyond simple compositionality. Art, Sci","volume":"3","author":"Zhang Weixin","year":"2019","unstructured":"Weixin Zhang and Bruno C. d. S. Oliveira . 2019 . Shallow EDSLs and object-oriented programming: Beyond simple compositionality. Art, Sci ., Eng. Prog. 3 , 3 (2019), 1 \u2013 25 . Weixin Zhang and Bruno C. d. S. Oliveira. 2019. Shallow EDSLs and object-oriented programming: Beyond simple compositionality. Art, Sci., Eng. Prog. 3, 3 (2019), 1\u201325.","journal-title":"Eng. Prog."},{"key":"e_1_2_1_88_1","volume-title":"Proc. ACM Prog. Lang. 1, OOPSLA","author":"Zhang Yizhou","year":"2017","unstructured":"Yizhou Zhang and Andrew C. Myers . 2017. Familia: Unifying interfaces, type classes, and family polymorphism . Proc. ACM Prog. Lang. 1, OOPSLA ( 2017 ), 1\u201331. Yizhou Zhang and Andrew C. Myers. 2017. Familia: Unifying interfaces, type classes, and family polymorphism. Proc. ACM Prog. Lang. 1, OOPSLA (2017), 1\u201331."}],"container-title":["ACM Transactions on Programming Languages and Systems"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3460228","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3460228","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T20:12:16Z","timestamp":1750191136000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3460228"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,9,3]]},"references-count":85,"journal-issue":{"issue":"3","published-print":{"date-parts":[[2021,9,30]]}},"alternative-id":["10.1145\/3460228"],"URL":"https:\/\/doi.org\/10.1145\/3460228","relation":{},"ISSN":["0164-0925","1558-4593"],"issn-type":[{"value":"0164-0925","type":"print"},{"value":"1558-4593","type":"electronic"}],"subject":[],"published":{"date-parts":[[2021,9,3]]},"assertion":[{"value":"2020-10-01","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2021-04-01","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2021-09-03","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}