Notes (HPFP 15/31): Monoid, Semigroup
15 Monoid, Semigroup
15.10 Reusing algebras by asking for algebras
Exercise: Optional Monoid
15.11 Madness
15.12 Better living through QuickCheck
Testing QuickCheck’s patience
Exercise: Maybe Another Monoid
15.15 Chapter Exercises
Semigroup exercises & Monoid exercises
see SemigroupMonoidExercises.hs
15.17 Follow-up resources
- Algebraic structure; Simple English Wikipedia
- Haskell Monoids and Their Uses; Dan Piponi