Misc_stdlib.ArraySame as Array.exists2 from the standard library.
fold_left2 f init [|a1; ...; an|] [|b1; ...; bn|] is f (... (f (f init a1 b1) a2 b2) ...) an bn.
Same as Array.for_all from the standard library, but the function is applied with the index of the element as first argument, and the element itself as second argument.
Compare two arrays for equality, using the supplied predicate for element equality
Compare two arrays, using the supplied predicate for element equality
map_sharing f a is map f a. If for all elements of the array f e == e then map_sharing f a == a