Upgrading Semigroup Data Types to Monoids

Thomas Greco
InstructorThomas Greco
Share this video with your friends

Social Share Links

Send Tweet

In this lesson, we'll begin working with monoids by creating some of our own. Specifically, we will upgrade a previously defined semigroup (Product) so that it takes the form of a valid monoid. To ensure that we have a valid monoid, we will wrap up this video by testing Product so that it holds the laws of Right identity and Left` identity.

Fantasy Land Docs - Monoid