Please log in to watch this conference skillscast.
"One does not simply derive type classes with a macro." Case classes and ADTs allow us to describe a model and reason about it with ease. Type classes allow us to extend them in a more loosely coupled and composable way than OOP. Both are two of the most appreciated features of Scala. Yet, deriving the right type class instances for all of one's case classes and ADTs is still a cumbersome job. In this talk, you'll dive into how shapeless and type level programming can make this task considerably easier, making it almost entirely automatic.
You'll quickly see the kind of problems shapeless handles for you, why type level programming is the right tool for this job, and the limitations of this solution and what can still be improved in this area.
YOU MAY ALSO LIKE:
Fast automatic type class derivation with shapeless
Alexandre Archambault is currently working with Criteo. He has been solving data related problems and doing math with Scala professionally since early 2013, and has been contributing regularly to shapeless since mid-2014.