What’s in this post?

  • Why use category theory in Scala?
  • Quick intro to Semigroups and Monoids
  • How to implement Monoids in Scala
  • Using the Cats and/or Scalaz libraries to work with Monoids
  • An example of Monoids in production code
  • Testing the Monoid laws of your Monoid instances
  • Bonus footnotes: Mini reviews of some Functional Programming in Scala books

Fill in your info below to download your free E-book! 

Subscribe to our Learn Portal
Subscribe to Monoids For Life
Show Buttons
Hide Buttons

Get access to the Scala Guide

Join our mailing list to receive the latest news, updates and gated content

You have successfully downloaded the Scala Guide

Get Access to the Monoids For Production Article

Join our mailing list to receive the latest news, updates and gated content

The Monoids For Production page will load in 3-5 seconds

Get access to the Comonads For Life article

Join our mailing list to receive the latest news, updates and gated content

The Comonads For Life page will load in 3-5 seconds

Get access to the article

Join our mailing list to receive the latest news, updates and gated content

The page will load in 3-5 seconds