https://sudonull.com/calculus-of-ends-in-category-theory-technique-for-constructing-monads-scala
How the calculus of ends solves the problem of obtaining natural transformations for monads. Practical implementation in Scala with code examples. Learn more.