pub trait Abelian: Monoid {
    fn negate(self) -> Self;
Expand description

A Monoid with negation.

This trait extends the requirements of Semigroup to include a negation operator. Several differential dataflow operators require negation in order to retract prior outputs, but not quite as many as you might imagine.

Required methods

The method of std::ops::Neg, for types that do not implement Neg.

Implementations on Foreign Types