Const
Creates a Monoid for a Tree<A> type, given a Monoid for the underlying type A. empty will be a leaf(M.empty).
Monoid
Tree<A>
A
empty
leaf(M.empty)
Creates a
Monoidfor aTree<A>type, given aMonoidfor the underlying typeA.emptywill be aleaf(M.empty).