Skip to main content
  1. tags/

Semigroups

2026


Combination before Identity

·1599 words·8 mins
This post introduces the fundamental algebraic structures of Semigroups and Monoids, demonstrating how the simple power of associative combination enables complex patterns like Applicative error accumulation and foldMap while emphasizing the importance of only ’earning’ an identity element when it truly exists in the domain.