Monoidal behavior in JavaScript

The term monoid is a bit aggressive and intimidating. In practice, though, it’s actually a very simple concept with very powerful applications not only in mathematics but in application code and programming language design. To begin, let’s define another stealthy concept — a Semigroup. Semigroup Semigroups are more of a recent concept relative to its […]