MENU

Fun & Interesting

Cats with Scala: Essential Type Class Hierarchy, Explained

Rock the JVM 20,181 4 years ago
Video Not Working? Fix It Now

Blog post: https://blog.rockthejvm.com/cats-typeclass-hierarchy/ Scala & Cats course: https://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: https://www.youtube.com/watch?v=aSnY2JBzjUw Type classes: https://www.youtube.com/watch?v=bupBZKJT0EA Monads intro: https://www.youtube.com/watch?v=d-dy1x33moA Semigroups and Monoids: https://www.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: https://linkedin.com/company/rockthejvm Twitter: https://twitter.com/rockthejvm Blog: https://rockthejvm.com/blog ------------------------------------------------------------------------- Home: https://rockthejvm.com -------------------------------------------------------------------------

Comment