MonadEx v1.1.3 Monoid protocol View Source
Monoids have two principle operations: empty/zero and append.
This protocol
doesn’t have an empty
function due to the limitations of Elixir protocols.
I can implement this functionality using Behaviours, but I haven’t done so
yet.
Link to this section Summary
Functions
Takes two monoid
s and concatenates them
Link to this section Types
Link to this section Functions
Takes two monoid
s and concatenates them.
All collections, such as lists and strings, are monoids. Many other types are monoids too.