Skip to content
0:00 / 0:00

#shapeless#typeclasses#hlist

Kévin Rauscher at #ScalaUA - Scala Schemas with Shapeless

ScalaUA Conference

1.2K subscribers • 26 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Kévin Rauscher

Advanced. Deep dive for people who know the field.

439 views7 years ago1 recommendation

Programming languagesSoftware designScalaFunctional programming

Kévin Rauscher explains how to use Shapeless to automatically derive typeclasses and case class transformers, reducing boilerplate.

Kévin Rauscher at #ScalaUA - Scala Schemas with Shapeless Why write code the compiler can generate for us? Following this motto, we, as scala developers, tend to derive a lot of things from our model definition. But what happens when we have to keep our API backward compatible while upgrading our domain model. While coupling models are inconvenient, decoupling them leads to a lot of boilerplate. In this talk, we'll see that, by using the same techniques which allow us to automatically generate our typeclasses, we can also scrap the boilerplate when going from one model to another. In this session, expect to hear about: - Recursion and pattern matching - HList and LabelledGenerics - Automatic Derivation of typeclasses - Automatic Derivation of case class transformers Follow ScalaUA Conference on Twitter: twitter.com/@ScalaUA_Conf

Why it's here

1 person recommends this

What people say. Recommended as part of a curated list of high-quality ScalaUA conference talks.

u/know_not_muchin r/scala • Recommends

All Videos of ScalaUA conference are now available! All the videos of ScalaUA conference can be seen at link to this video and https://old.reddit.com/r/ScalaConferenceVideos/ Since this conference has exceptionally good topic selection, I am listing down the urls to all the talks below Thinking Functionally - John A. De Goes Big Step to Functional Programming - Alex Zvolinskiy Scheduling and retrying effects with cats - Miklós Martin Conquering Concurrency with Functional Programming - Jakub Kozłowski Scala Schemas with Shapeless - Kévin Rauscher Backpressure over the wire - when things go wrong - Zahari Dichev Things I wish I knew when I started with Akka - Markus Jura [Tou…