Back To Schedule
Room 1 - General Sessions

Wednesday May 16th, 11:30-12:15

Applications of Implicit Function Types

About this Talk

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.


Olivier Blanvillain

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 Europe ‐ organized by Lightbend, heise Developer, and dpunkt.verlag.