1. 4

    Getting started with OCaml is so much easier nowadays than it was just a couple of years ago.

    Here’s a quick guide for anyone who wants to try the modern development workflow in OCaml: https://medium.com/@bobbypriambodo/starting-an-ocaml-app-project-using-dune-d4f74e291de8

    1. 4

      It is really surprising he didn’t find jbuilder which is the build system that seems to be displacing all the other build systems in OCaml and has a passable learning curve.

      Maybe because he uses Reason syntax, which is probably not supported very well, if at all.

      1. 3

        It’s called Dune now: https://github.com/ocaml/dune

        1. 1

          Dune has no releases yet, so for now it still is jbuilder.

        2. 1

          Dune supports Reason syntax out of the box and will pick up all *.re files automatically.

        1. 2

          I read the original paper on modular implicits last week and really hope it makes to the mainline branch soon. My only dislike is having to mark modules as being implicit, rather the compiler checking against all modules in scope. I suppose this makes compilation faster, but I’m wondering if it’s a case of premature optimization.

          1. 1

            Interesting. I think I’d like that as a default as long as excluding some modules from the lookup could be an option (explicit module?).