Skip to content
0:00 / 0:00

#cats#typeclasses#monads

Cats with Scala: Essential Type Class Hierarchy, Explained

Rock the JVM

27K subscribers • 59 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.

Intermediate. Assumes working knowledge.

22K views5 years ago1 recommendation

Programming languagesSoftware designScalaFunctional programmingDesign patterns

An explanation of the core functional programming type class hierarchy in the Scala Cats library.

Blog post: blog.rockthejvm.com/cats-typeclass-hierarchy/ Scala & Cats course: rockthejvm.com/p/cats This video is a (very) compressed version of what we discuss in great detail and with lots of examples and exercises in the Cats course (link above if you're curious). YouTube videos on topics related to Cats: Functors: youtube.com/watch?v=aSnY2JBzjUw Type classes: youtube.com/watch?v=bupBZKJT0EA Monads intro: youtube.com/watch?v=d-dy1x33moA Semigroups and Monoids: youtube.com/watch?v=LmBTiFYa-V4 This is a video primarily for (comfortable) Scala programmers. In this video, we discuss the primary type class hierarchy in Cats, with lots of abstractions and the main intuitions behind each. In 30 minutes, we'll include - Semigroups - Monoids - Applicatives - Functors - Monad - Apply - Semigroupal - ApplicativeError and MonadError The video is shot in Scala 3, but the concepts are equally valid for Scala 2, where instead of a using clause, Scala 2 will only need an implicit argument. Follow Rock the JVM on: LinkedIn: linkedin.com/company/rockthejvm Twitter: twitter.com/rockthejvm Blog: rockthejvm.com/blog ------------------------------------------------------------------------- Home: rockthejvm.com -------------------------------------------------------------------------

Why it's here

1 person recommends this

What people say. Recommended as a clear and concise overview of the Cats type class hierarchy in Scala.

u/danielciocirlanin r/scala • Recommends

Cats: Essential Type Class Hierarchy Explained