Hello. I am new to ocaml. I am trying to use the function Char.chr at the top level .As far as I can tell Char.chr should be part of ocaml's standard library. However I get "Unbound value" when I type "Char.chr". I have tried typing "open Core.Std" before calling this but it makes no difference. If I type "Array.length" I get "- : 'a Core.Std.Array.t -> int = <fun>" which makes me think that the compiler is seeing the core library. Can anyone tell me what I am need to do to make this work. Thanks in advance.
Tony
--
You received this message because you are subscribed to the Google Groups "ocaml-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ocaml-core+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Hello. I am new to ocaml. I am trying to use the function Char.chr at the top level .As far as I can tell Char.chr should be part of ocaml's standard library. However I get "Unbound value" when I type "Char.chr". I have tried typing "open Core.Std" before calling this but it makes no difference. If I type "Array.length" I get "- : 'a Core.Std.Array.t -> int = <fun>" which makes me think that the compiler is seeing the core library. Can anyone tell me what I am need to do to make this work. Thanks in advance.
Tony
--