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