OCaml - can't find Sys.big_endian value in Core

47 views Asked by At

I just realized that val big_endian : bool is removed from the Sys module when opening Core.Std.

Where can I find a similar value?

1

There are 1 answers

0
ivg On BEST ANSWER

You can get access to vanilla OCaml Sys module using Caml module that includes the standard library:

 let big_endian = Caml.Sys.big_endian

Anyway, it is really interesting, why they do not provided anything similar.