Skip to content
0:00 / 0:00

#monads#cats#scala

Another Approach to Monads in Scala: A Way to Generalize Chained Computations

Rock the JVM

27K subscribers • 62 videos on Hallway

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

Intermediate. Assumes working knowledge.

7.6K views5 years ago1 recommendation

Programming languagesSoftware designFunctional programmingScala

An explanation of monads in Scala as a way to generalize chained computations, using Cats and Scala 3 features.

Written version: blog.rockthejvm.com/another-take-on-monads/ Scala & Cats course: rockthejvm.com/p/cats Links from the video: Type classes: youtube.com/watch?v=bupBZKJT0EA Scala 3 Given/Using: youtube.com/watch?v=vpL-JPHt9qw Monads intro: youtube.com/watch?v=d-dy1x33moA Monads are monoids in the category of endofunctors: youtube.com/watch?v=CMm98RkCgPg This is a video for Scala programmers who want to understand Monads, one of the most famous and hard to explain concepts in functional programming. Although we've done a couple of other videos on the channel about monads ( from a practical necessity and from a very abstract point of view), this video explores yet another angle at Monads, which is the capability to generalize chained computations. 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 an intuitive explanation of monads through the lens of generalizing chained computations.

u/danielciocirlanin r/scala • Recommends

(Yet) Another Take on Monads in Scala: Generalizing Computations