Expose caml_string_equal &c to OCaml #6494
Original bug ID: 6494
Currently, it is possible to call an optimized equality function by forcing specialization, e.g. with:
let string_eq = fun (a:string) b -> a = b
However, it's fragile and not guaranteed by anything in the compiler.
I think modules Char/String/Bytes/Int64/Int32/Nativeint should definitely offer an "equal" function. I'm not sure where the corresponding functions for bool, int and float should go.