Trait un_algebra::monoid::monoid::Monoid[][src]

pub trait Monoid: Semigroup {
    fn id() -> Self;

    fn is_id(&self) -> bool { ... }
fn axiom_left_identity(&self) -> bool { ... }
fn axiom_right_identity(&self) -> bool { ... } }

An algebraic monoid.

Required Methods

The monoid identity element.

Provided Methods

Test for the identity value.

Test the left identity axiom.

Test the right identity axiom.

Implementors