Function lattices::algebra::idempotency
source ยท pub fn idempotency<S: Debug + PartialEq + Clone, const N: usize>(
items: &[S; N],
f: impl Fn(S, S) -> S,
) -> Result<(), &'static str>
Expand description
Defines the idempotency property.
xx = x