Extensions to the Maybe API, which utilise typeclasses.
Extract a value or use the Monoid's identity.
Map the element of Maybe to a type which has an instance of Monoid, or use its identity, when Maybe is Nothing.
Monoid
Extract a value or use the Monoid's identity.