Live data from Hacker News

Using, Understanding, and Unraveling the OCaml Language

caml.inria.fr

11–12 of 12 posts

Re: Using, Understanding, and Unraveling the OCaml Language

#11
post #2

This is so old, I personally wouldn't read it. If you want to learn Ocaml, probably the best current resource is Real World Ocaml v2: https://dev.realworldocaml.org/ . It doesn't have good coverage of the not so real world things or the myriad of syntax extensions (mostly from Jane Street). The main auther is one of the original co-founders of Jane Street as well. The only reason I'm saying this is that the Jane Stre…

Do you mean Yaron Minsky? I don't think he was a co-founder of Jane Street. From what he's said publicly I got the impression that he was a hire (who obviously had a huge impact).

I don't think he's a co-founder but he is the one who brought OCaml into that company. Started out as a means to do some quick demos and ended up being their language of choice.

Re: Using, Understanding, and Unraveling the OCaml Language

#12
post #5

Ocaml the language isn't the problem for me, it looks great. The real problem is everything else: the libraries, the build tools, the package manager, etc. I tried to set it all up and after a couple evenings gave up. Also, when I realised that it doesn't support unicode strings I tried to find and install a library and I just couldn't work out how.

If you were inclined to try again, I'd start here: https://dev.realworldocaml.org/install.html for installing the basic compiler and tools: essentially, use your OS package manager to install opam, and then use opam to install everything else. Then work through the rest of the book. As far as unicode goes, strings in OCaml are just bytes, so it won't mangle any unicode without you telling it to. If you need to proces…

No, I don't think so, I moved on to other languages. I want to think about problems, not about tools.
Post reply on HN