[Teaching] Getting OCaml set up on a mac

Anil Madhavapeddy anil at recoil.org
Thu Jan 22 00:04:15 GMT 2015

On 22 Jan 2015, at 00:00, Yaron Minsky <yminsky at janestreet.com> wrote:
> I was just chatting with Greg about this, and I wanted to broaden the
> question out: how should a teacher set up a mac environment using
> opam?  Ideally, it would be nice if we could give people a pretty
> simple script that would get them editor configs, tools like merlin
> and ocp-indent, and a set of libraries at fixed versions that won't
> change for the whole semester.
> Does anyone have a demo of such a thing set up?  Louis, how is your
> opam-in-a-box work coming along, and is it at a point where people can
> start using it?

It's not merged into OPAM yet, but see the user-setup.0.1 package that does
just this:


> OPAM User Setup helper to configure various editors and tools for OCaml
> This package, currently in alpha, attempts to help initial setup for new OCaml
> users by automating the tedious task of adjusting editor and tool configuration.
> It will run after the installation of ocp-indent, merlin or similar tools and
> adjust the configuration for your available editors accordingly. It won't suit
> advanced users who prefer to do such things by hand anyway.


More information about the Teaching mailing list