This presentation is the part of our on-going knolx session. It is brief introduction to monoids in scala. Monoids are the certain common pattern followed by the various data types of a programming language. They are the simple algebraic structure governed by certain laws. A simple monoid consists of a associative operation and an identity element and they can be implemented in the form of trait in scala.
Reading Time: < 1 minute