May 17, 2018
This talk presents a generalization of implicit parameters to implicit function types, a powerful way to abstract over the context in which some piece of code is run. To illustrate their abstraction capabilities, we present several applications that make use of implicit function types. We show how to encode the builder pattern, the reader monad, tagless interpreters, and free structures. Required knowledge Basic knowledge about Scala implicits, not be afraid of the M word. Learning objectives Get a grasp on implicit function types I'm a PhD student at EPFL (Ècole polytechnique fédérale de Lausanne) under the supervision of Martin Odersky. I'm interested in generic programming, staging and functional programming in general. I have made several contributions to the Scala open source community, in addition to my work on the Dotty compiler I'm currently maintaining two libraries: Frameless and Monadic HTML.
Scala Days brings together developers from all corners of the world to share their experiences and new ideas around creating applications with Scala and related technologies, like Spark, Kafka, and Akka. Scala Days provides a unique opportunity for Scala users to interact with the contributors to the language and related technologies and connect with fellow developers.
Professional recording and live streaming, delivered globally.
Presentations on similar topic, category or speaker