Why it matters
Shapeless underlies much Scala magic. Understanding shapes advanced Scala.
Advertisement
The architecture
HList: heterogeneous list.
Generic[T]: convert case class to HList.
Advertisement
How it works end to end
Coproduct: type-level Either.
Type-level programming.
Compile-time computation.
Scala 3: less needed due to native metaprogramming.