instance<A> static method
Create a CommutativeMonoid
instance from the given function and empty value.
Implementation
static CommutativeMonoid<A> instance<A>(
A emptyValue, A Function(A a1, A a2) f) =>
_CommutativeMonoid(emptyValue, f);