In my limited understanding, OCaml has int/float types. It, afaik, does not allow me to specify arrays of u8, i8, u16, i16, u32, i32.
This is a problem, as I want to specify them in WebGL buffers / arrays.
Looking at the jsoo webgl example, I see it uses float32 arrays: js_of_ocaml/webgldemo.ml at master · ocsigen/js_of_ocaml · GitHub
What I am curious is whether there is a straight forward way to do arrays of u8/i8/u16/i16/u32/i32.