Type class anatomy

By Mark Canlas

Elevator Pitch

Take your functional programming journey into overdrive with this introductory guide to type classes. Learn how libraries like Cats and Scalaz unlock the power of type classes! You’ll never look at functional programming the same way again.

Description

Type classes in Scala can be intimidating to understand since their encoding in Scala can be verbose. This talk will focus on demystifying how these libraries like Cats and Scalaz work with type classes. Code and concepts shown will work with either Cats or Scalaz.

Notes

This is the guide I would have wanted before I embarked on Cats and Scalaz. They can often be viewed as “magical” which I don’t think is a very good attitude to have in software engineering. My aim is to have people walk away with the idea that such libraries are not magical and behave in predictable, understandable ways.

Presented as a slide show.