Closed ryyppy closed 6 months ago
Needed to be able to migrate from OCaml's String.get(s, i) interface.
String.get(s, i)
Basically this:
@get_index external getUnsafe: (string, int) => string = ""
Note that this is technically not the correct translation from its original function, which actually returns a char value.
char
Needed to be able to migrate from OCaml's
String.get(s, i)
interface.Basically this:
Note that this is technically not the correct translation from its original function, which actually returns a
char
value.