←back to thread

Learn OCaml

(ocaml-sf.org)
203 points smartmic | 3 comments | | HN request time: 0.874s | source
Show context
hyper57 ◴[] No.44400829[source]
Loved using OCaml for a compiler course at uni when I was a student. But I've always felt that the tooling side is pretty rough, especially on Windows. Opam recently added Windows support, but it involves installing MinGW, and when following the official docs https://ocaml.org/docs/installing-ocaml#install-platform-too... the process breaks down with an error when trying to install utop due to a path separator error, which one has to fix manually (at least that was the case last time I tried). By comparison, installing Python or Rust on Windows is a breeze.
replies(3): >>44400889 #>>44401349 #>>44401688 #
1. lor_louis ◴[] No.44400889[source]
Even in Linux, I'd say the tooling is a bit rough, dune and the new lsp are going in the right direction though.
replies(1): >>44401130 #
2. jact ◴[] No.44401130[source]
Dune is a very powerful and good build system — it can do some very magical and useful things. The only problem is most of these useful features are very poorly documented…
replies(1): >>44408827 #
3. abathologist ◴[] No.44408827[source]
Would be great to get concrete feedback on the docs, because a lot of energy has gone into improving them in the last 2 years: https://dune.readthedocs.io/en/stable/index.html