Skip to content
0:00 / 0:00

#shapely#typeclass-derivation#scala-2

Sam Halliday - Shapely: Super Simple Typeclass Derivation

Konfy

4K subscribers • 13 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Sam Halliday

Intermediate. Assumes working knowledge.

1.8K views4 years ago1 recommendation

Programming languagesSoftware designScalaLanguage design and type systems

Sam Halliday explains how to write and derive typeclasses in Scala 2 and 3 using the Shapely library.

Learn what a typeclass is, and why you'd want to derive one. Then learn how to write a typeclass and give your users the ability to make use of it for all their domain objects using a new library that I wish I wrote 10 years ago. Works with both Scala 2 and Scala 3, results in super fast compilations, and doesn't require any type-level (aka "generic programming") knowledge. 2022.scala.love twitter.com/scala_love

Why it's here

1 person recommends this

What people say. Recommended as an introduction to the Shapely library for typeclass derivation in Scala.

u/ensimein r/scala • Recommends

new typeclass derivation library for Scala 2 and 3 (shapely)