Applications of Implicit Function Types

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.


About Scala Days

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.

Store presentation

Should this presentation be stored for 1000 years?

How do we store presentations

Total of 0 viewers voted for saving the presentation to eternal vault which is 0.0%


Recommended Videos

Presentations on similar topic, category or speaker