learnyouahaskell.github.io icon indicating copy to clipboard operation
learnyouahaskell.github.io copied to clipboard

"Monoids" is outdated

Open Pi-Cla opened this issue 2 years ago • 1 comments

In: Functors, Applicative Functors and Monoids it described Monoids as having a minimal definition of mempty and mappend. Nowadays one has to define the Semigroup first and then define just mempty to create a Monoid. So people should not manually define mappend anymore. Perhaps a section on Semigroups can be created out of the existing sectiom for Monoids?

Pi-Cla avatar Mar 03 '23 16:03 Pi-Cla