{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,6]],"date-time":"2026-10-06T16:27:44Z","timestamp":1791304064681,"version":"4.3.1"},"reference-count":35,"publisher":"Association for Computing Machinery (ACM)","issue":"POPL","license":[{"start":{"date-parts":[[2017,12,27]],"date-time":"2017-12-27T00:00:00Z","timestamp":1514332800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2018,1]]},"abstract":"<jats:p>\n                    Understanding a program entails understanding its context; dependencies, configurations and even implementations are all forms of contexts. Modern programming languages and theorem provers offer an array of constructs to define contexts, implicitly. Scala offers\n                    <jats:italic>implicit parameters<\/jats:italic>\n                    which are used pervasively, but which cannot be abstracted over.\n                  <\/jats:p>\n                  <jats:p>\n                    This paper describes a generalization of implicit parameters to\n                    <jats:italic>implicit function types<\/jats:italic>\n                    , a powerful way to abstract over the context in which some piece of code is run. We provide a formalization based on bidirectional type-checking that closely follows the semantics implemented by the Scala compiler.\n                  <\/jats:p>\n                  <jats:p>To demonstrate their range of abstraction capabilities, we present several applications that make use of implicit function types. We show how to encode the builder pattern, tagless interpreters, reader and free monads and we assess the performance of the monadic structures presented.<\/jats:p>","DOI":"10.1145\/3158130","type":"journal-article","created":{"date-parts":[[2017,12,29]],"date-time":"2017-12-29T09:21:49Z","timestamp":1514539309000},"page":"1-29","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":24,"title":["Simplicitly: foundations and applications of implicit function types"],"prefix":"10.1145","volume":"2","author":[{"given":"Martin","family":"Odersky","sequence":"first","affiliation":[{"name":"EPFL, Switzerland"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Olivier","family":"Blanvillain","sequence":"additional","affiliation":[{"name":"EPFL, Switzerland"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Fengyun","family":"Liu","sequence":"additional","affiliation":[{"name":"EPFL, Switzerland"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Aggelos","family":"Biboudis","sequence":"additional","affiliation":[{"name":"EPFL, Switzerland"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Heather","family":"Miller","sequence":"additional","affiliation":[{"name":"EPFL, Switzerland \/ Northeastern University, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Sandro","family":"Stucki","sequence":"additional","affiliation":[{"name":"EPFL, Switzerland"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2017,12,27]]},"reference":[{"key":"e_1_2_2_1_1","volume-title":"Stackless Scala With Free Monads. https:\/\/web.archive.org\/web\/20170107134129\/http:\/\/blog. higher- order.com\/assets\/trampolines.pdf . (April","author":"Bjarnason Runar","year":"2012","unstructured":"Runar Bjarnason . 2012. Stackless Scala With Free Monads. https:\/\/web.archive.org\/web\/20170107134129\/http:\/\/blog. higher- order.com\/assets\/trampolines.pdf . (April 2012 ). Runar Bjarnason. 2012. Stackless Scala With Free Monads. https:\/\/web.archive.org\/web\/20170107134129\/http:\/\/blog. higher- order.com\/assets\/trampolines.pdf . (April 2012)."},{"key":"e_1_2_2_2_1","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796809007205"},{"key":"e_1_2_2_3_1","volume-title":"Cats: Lightweight, modular, and extensible library for functional programming. https:\/\/web.archive.org\/web\/ 20160219022626\/https:\/\/github.com\/typelevel\/cats .","year":"2017","unstructured":"Cats. 2017 . Cats: Lightweight, modular, and extensible library for functional programming. https:\/\/web.archive.org\/web\/ 20160219022626\/https:\/\/github.com\/typelevel\/cats . (2017). Cats. 2017. Cats: Lightweight, modular, and extensible library for functional programming. https:\/\/web.archive.org\/web\/ 20160219022626\/https:\/\/github.com\/typelevel\/cats . (2017)."},{"issue":"7","key":"e_1_2_2_4_1","first-page":"0","article-title":"The Coq Proof Assistant Reference Manual","volume":"8","author":"Team Coq","year":"2017","unstructured":"Coq Team . 2017 . The Coq Proof Assistant Reference Manual , Version 8 . 7 . 0 . (2017). Coq Team. 2017. The Coq Proof Assistant Reference Manual, Version 8.7.0. (2017).","journal-title":"Version"},{"key":"e_1_2_2_5_1","doi-asserted-by":"publisher","DOI":"10.1016\/0167-6423(95)00021-6"},{"key":"e_1_2_2_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/582153.582176"},{"key":"e_1_2_2_7_1","doi-asserted-by":"publisher","DOI":"10.1145\/2034773.2034796"},{"key":"e_1_2_2_8_1","doi-asserted-by":"publisher","DOI":"10.1007\/11785477_18"},{"key":"e_1_2_2_9_1","unstructured":"GHC. 2015. Glasgow Haskell Compiler Users Guide. https:\/\/downloads.haskell.org\/~ghc\/latest\/docs\/html\/users_guide\/ glasgow_exts.html . (2015).  GHC. 2015. Glasgow Haskell Compiler Users Guide. https:\/\/downloads.haskell.org\/~ghc\/latest\/docs\/html\/users_guide\/ glasgow_exts.html . (2015)."},{"key":"e_1_2_2_11_1","doi-asserted-by":"publisher","DOI":"10.1145\/2034773.2034798"},{"key":"e_1_2_2_12_1","volume-title":"Expert One-on-One J2EE Design and Development","author":"Johnson Rod","unstructured":"Rod Johnson . 2002. Expert One-on-One J2EE Design and Development . Wrox Press Ltd ., Birmingham, UK, UK. Rod Johnson. 2002. Expert One-on-One J2EE Design and Development. Wrox Press Ltd., Birmingham, UK, UK."},{"key":"e_1_2_2_13_1","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-59451-5_4"},{"key":"e_1_2_2_14_1","doi-asserted-by":"publisher","DOI":"10.1145\/1017472.1017481"},{"key":"e_1_2_2_15_1","unstructured":"Kotlin. 2014. Type-Safe Groovy Style Builders in Kotlin. https:\/\/web.archive.org\/web\/20170607150651\/https:\/\/kotlinlang. org\/docs\/reference\/type- safe- builders.html . (2014).  Kotlin. 2014. Type-Safe Groovy Style Builders in Kotlin. https:\/\/web.archive.org\/web\/20170607150651\/https:\/\/kotlinlang. org\/docs\/reference\/type- safe- builders.html . (2014)."},{"key":"e_1_2_2_16_1","doi-asserted-by":"publisher","DOI":"10.1145\/325694.325708"},{"key":"e_1_2_2_17_1","volume-title":"https:\/\/web.archive.org\/web\/20170618112351\/https:\/\/media.readthedocs. org\/pdf\/agda\/v2.5.2\/agda.pdf . (March","author":"Norell Ulf","year":"2017","unstructured":"Ulf Norell and others. 2017. Agda Documentation . https:\/\/web.archive.org\/web\/20170618112351\/https:\/\/media.readthedocs. org\/pdf\/agda\/v2.5.2\/agda.pdf . (March 2017 ). Ulf Norell and others. 2017. Agda Documentation. https:\/\/web.archive.org\/web\/20170618112351\/https:\/\/media.readthedocs. org\/pdf\/agda\/v2.5.2\/agda.pdf . (March 2017)."},{"key":"e_1_2_2_18_1","volume-title":"Dotty Compiler: A Next Generation Compiler for Scala. https:\/\/web.archive.org\/web\/20170325001401\/ http:\/\/dotty.epfl.ch\/ .","author":"Odersky Martin","year":"2017","unstructured":"Martin Odersky . 2017 . Dotty Compiler: A Next Generation Compiler for Scala. https:\/\/web.archive.org\/web\/20170325001401\/ http:\/\/dotty.epfl.ch\/ . (2017). Martin Odersky. 2017. Dotty Compiler: A Next Generation Compiler for Scala. https:\/\/web.archive.org\/web\/20170325001401\/ http:\/\/dotty.epfl.ch\/ . (2017)."},{"key":"e_1_2_2_19_1","doi-asserted-by":"publisher","DOI":"10.1145\/1094811.1094815"},{"key":"e_1_2_2_20_1","doi-asserted-by":"publisher","DOI":"10.1145\/360204.360207"},{"key":"e_1_2_2_21_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-31057-7_2"},{"key":"e_1_2_2_22_1","doi-asserted-by":"publisher","DOI":"10.1145\/1869459.1869489"},{"key":"e_1_2_2_23_1","doi-asserted-by":"publisher","DOI":"10.1145\/2254064.2254070"},{"key":"e_1_2_2_24_1","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796806006034"},{"key":"e_1_2_2_25_1","doi-asserted-by":"publisher","DOI":"10.1145\/345099.345100"},{"key":"e_1_2_2_26_1","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-06859-7_148"},{"key":"e_1_2_2_27_1","unstructured":"Arjen Rouvoet. 2016. Programs for Free: Towards the Formalization of Implicit Resolution in Scala. Master\u2019s thesis. TU Delft.  Arjen Rouvoet. 2016. Programs for Free: Towards the Formalization of Implicit Resolution in Scala. Master\u2019s thesis. TU Delft."},{"key":"e_1_2_2_28_1","volume-title":"Scalaz: An extension to the core Scala library for functional programming. https:\/\/web.archive.org\/web\/ 20170305041357\/https:\/\/github.com\/scalaz\/scalaz\/ .","year":"2017","unstructured":"Scalaz. 2017 . Scalaz: An extension to the core Scala library for functional programming. https:\/\/web.archive.org\/web\/ 20170305041357\/https:\/\/github.com\/scalaz\/scalaz\/ . (2017). Scalaz. 2017. Scalaz: An extension to the core Scala library for functional programming. https:\/\/web.archive.org\/web\/ 20170305041357\/https:\/\/github.com\/scalaz\/scalaz\/ . (2017)."},{"key":"e_1_2_2_30_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-71067-7_23"},{"key":"e_1_2_2_31_1","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796808006758"},{"key":"e_1_2_2_32_1","volume-title":"Google Guice: Agile Lightweight Dependency Injection Framework","author":"Vanbrabant Robbie","year":"2008","unstructured":"Robbie Vanbrabant . 2008 . Google Guice: Agile Lightweight Dependency Injection Framework (Firstpress). APress . Robbie Vanbrabant. 2008. Google Guice: Agile Lightweight Dependency Injection Framework (Firstpress). APress."},{"key":"e_1_2_2_33_1","volume-title":"The Expression Problem. https:\/\/web.archive.org\/web\/20170322142231\/http:\/\/homepages.inf.ed.ac.uk\/ wadler\/papers\/expression\/expression.txt . (Dec","author":"Wadler Philip","year":"1998","unstructured":"Philip Wadler . 1998. The Expression Problem. https:\/\/web.archive.org\/web\/20170322142231\/http:\/\/homepages.inf.ed.ac.uk\/ wadler\/papers\/expression\/expression.txt . (Dec . 1998 ). Philip Wadler. 1998. The Expression Problem. https:\/\/web.archive.org\/web\/20170322142231\/http:\/\/homepages.inf.ed.ac.uk\/ wadler\/papers\/expression\/expression.txt . (Dec. 1998)."},{"key":"e_1_2_2_34_1","doi-asserted-by":"publisher","DOI":"10.1145\/75277.75283"},{"key":"e_1_2_2_35_1","unstructured":"Adam Warski. 2013. MacWire: Lightweight and Nonintrusive Scala Dependency Injection Library. https:\/\/web.archive.org\/ web\/20170222065306\/https:\/\/github.com\/adamw\/macwire . (2013).  Adam Warski. 2013. MacWire: Lightweight and Nonintrusive Scala Dependency Injection Library. https:\/\/web.archive.org\/ web\/20170222065306\/https:\/\/github.com\/adamw\/macwire . (2013)."},{"key":"e_1_2_2_36_1","unstructured":"L. White F. Bour and J. Yallop. 2015. Modular implicits. ArXiv e-prints (Dec. 2015). arXiv: cs.PL\/1512.01895  L. White F. Bour and J. Yallop. 2015. Modular implicits. ArXiv e-prints (Dec. 2015). arXiv: cs.PL\/1512.01895"},{"key":"e_1_2_2_37_1","doi-asserted-by":"publisher","DOI":"10.1145\/292540.292560"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3158130","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3158130","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T22:11:30Z","timestamp":1750198290000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3158130"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2017,12,27]]},"references-count":35,"journal-issue":{"issue":"POPL","published-print":{"date-parts":[[2018,1]]}},"alternative-id":["10.1145\/3158130"],"URL":"https:\/\/doi.org\/10.1145\/3158130","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2017,12,27]]},"assertion":[{"value":"2017-12-27","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}