ocaml / ocaml

The core OCaml system: compilers, runtime system, base libraries
https://ocaml.org
Other
5.19k stars 1.06k forks source link

Dynarray could use comparison functions #13104

Open OlivierNicole opened 3 weeks ago

OlivierNicole commented 3 weeks ago

Wouldn’t it be good to have Dynarray.equal and Dynarray.compare functions? It is appreciable to have non-polymorphic comparison functions for standard types, and in addition neither (=) nor (==) express equality of the elements.