Is it possible to dump the linebuf created by Menhir lexer?
<bikal> Updated gist with `Obj.magic` to make it compile and use it. Value `f` has the correct value `Some 123` so the `Eq.Eq` is valid but it seems compiler can't infer/calculate that. Is there a way to nudge the compiler to correctly infer that type without use of `Obj.magic`?
bartholin has quit [Ping timeout: 265 seconds]
mro_name has quit [Remote host closed the connection]
MangaD has joined #ocaml
bartholin has joined #ocaml
Hello, I am trying to write a function in OCaml that gets the nth unicode character in a string. Is there any library that does this or must I write such a function myself?