One nice thing for Monoids is that we can call a fold directly on a monoidal structure without needing to specify the empty element manually when calling fold. It might be nice to have this added in as a trait method for monoid.
(I'd be happy to implement this at some point, but have quite a lot of Rust/Rust+FP reading to do first before I really want to dig in on this awesome library)
One nice thing for Monoids is that we can call a fold directly on a monoidal structure without needing to specify the empty element manually when calling
fold
. It might be nice to have this added in as a trait method formonoid
.