Indeed, though it's still a pain for nested arrays, as you have to coerce the inner layers first via mapping. Quite burdensome for arbitrary nesting.
Anyways, most of the time you're better off implementing a concrete type like he did.
Anyways, most of the time you're better off implementing a concrete type like he did.
But it does implement those traits for slices. So this isn't typically a problem in practice because you can coerce fixed-length arrays to slices and then compare those.