[ANN] Diskuv OCaml 1.x.x; Windows OCaml installer no longer in preview

Regarding [ANN] Windows-friendly OCaml 4.12 distribution - Diskuv OCaml 0.1.0 - #24 by bobzhang

Appreciate that you tried the installer @bobzhang !

Any chance you can also file issues; you get updates when an issue is fixed, and I doubt most new users are going to know/care to search in discuss.ocaml.org.

(I’m assuming you installed 1.0.0 rather than a preview 0.x.x version from the old now-closed thread)


  • The ocamlformat looks like you have extraneous and unnecessary quotes in the profile name. ocamlformat does work; I use it habitually several times a day. My guess is you are invoking it directly with extra quotes; a bug issue would really help here.
  • ppx_jane; I’m unfamiliar with this one, probably because there are many Jane Street packages that do not and will likely not support Windows for the foreseeable future. I’ll have a look at this when I’m back at a PC (may be awhile) for this specific package. Regardless ppx_jane is an indicator that you may be reliant on other Jane Street packages. I don’t want to speak for Jane Street, but I recall them being clear in their documentation about what only works on Unix and why (mostly they don’t have a Windows Async scheduler) and they have also said on discuss.ocaml.org that they didn’t use Windows in their testing. So three issues. 1. I really need to be more upfront that existing OCaml developers reliant on Jane Street must switch to alternatives (ex. Lwt not Async) to work on Windows. 2. Much of the very very useful Real World OCaml book promotes Jane Street libraries which will cause new Windows users to have immediate problems; I’ll see if a chat with the authors can help create a path forward. 3. The error you get is not helpful here. I think this will change in Opam 2.2 … packages that don’t work in Windows will be clearly flagged as not available in Windows. But regardless some change needs to occur; a bug issue would be helpful here.

Thanks!

1 Like