[Teaching] Getting OCaml set up on a mac

Yaron Minsky yminsky at janestreet.com
Thu Jan 22 00:05:53 GMT 2015

That seems great.  Can we get it merged in soon?  School in the US is
starting up very very soon, and I suspect a number of different
schools would find this very useful.


On Wed, Jan 21, 2015 at 7:04 PM, Anil Madhavapeddy <anil at recoil.org> wrote:
> 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:
> https://github.com/ocaml/opam-repository/pull/3428
> Description:
>> 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.
> -anil

More information about the Teaching mailing list