As lately indicated in another discussion, I’m correctly experienced in OCaml and other languages.
I’m just somehow unexperienced in, from scratch and quickly, setting up a modern, reliable and powerful full featured Ocaml IDE, especially for Windows (Win, because some people of my team only want to use Win, and I would also like to have it on my Win laptop without a Docker container or a VM).
Anyway, thanks for your pointers that may interest some people, and feed a discussion.
However, your efforts also highlights that it’s hard to have a clear learning path.
I personaly started to [re]learn OCaml with studying all details in refman in pdf (ctrl-f and links), and learned a lot with it, also reading the stdlib (what is under the hood), and using intensively the toplevel to evaluate every expression. I only had to understand ocaml and its tools (ocamlbuild, findlib, topfind, ocamlmktop,… and bash stuff for that). Maybe it’s the hard way but I can remember most details of the foundations.
I’m supposed to help folks in a team to quickly learn OCaml, which also means make them setup a professional OCaml IDE and keep it operational.
Any good book is welcome.
btw, OCaml from the Very Beginning (free) and More OCaml: Algorithms, Methods, and Diversions written by @JohnWhitington where very helpful for me.
Side comment to “Learn programming with OCaml” :
Again, on Ocaml landing pages, is it a good idea to expose a beginner to weird and useless expressions such as opam exec -- dune init project hello_world while dune init project hello_world is enough, after opam is correctly configured and its basics understood?
Or dune exec -- ./helloer.exe instead of usual ./helloer.exeor dune-style dune exec helloer
Abstracting/replacing the OCaml foundational commands for producing the necessary “executable stuff”(.cmi, .cmo, .cmx, .o, .bc, .exe, etc.) should stay as simple as possible, and always… pleasant.
https://ocaml.org/docs/your-first-program
https://ocaml.org/docs/bootstrapping-a-dune-project