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