[Teaching] Getting OCaml set up on a mac
Yaron Minsky
yminsky at janestreet.com
Thu Jan 22 15:25:23 GMT 2015
I'm going to try all of this in fresh-and-shiny mode on my mac. I'll
report my results back.
y
On Thu, Jan 22, 2015 at 4:16 AM, Anil Madhavapeddy <anil at recoil.org> wrote:
> Now merged. There's a failure in the OPAM 1.1 compatibility case,
> and I suspect a lot of students will have the latest Ubuntu and run
> into this problem (14.10 has a broken OPAM out of the box due to an
> upstream packaging mismatch).
>
> However, feedback from those trying it on OPAM 1.2 via:
>
> opam update
> opam install user-setup
>
> would be appreciated.
>
> Anil
>
>> On 22 Jan 2015, at 00:05, Yaron Minsky <yminsky at janestreet.com> wrote:
>>
>> 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.
>>
>> y
>>
>> 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