Speaker Deck

Generating Type Class Instances Automatically

by Lars Hupel

Published July 2, 2013 in Programming

The use of type classes has become pervasive in Scala programming. There are several libraries facilitating them to let developers write highly generic code. Because of the encoding of type classes in Scala, we have the whole power of the language (and now even macros) to derive instances of type classes. With proper library support, it is possible to compose small building blocks into type class instances for your own data types with (almost) no boilerplate.

Other Presentations by this Speaker