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