<div dir="ltr">Also, if you're working with Core, I highly suggest to add this line to .merlin:<div><br></div><div>FLG -short-paths<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 26, 2014 at 8:33 PM, Yaron Minsky <span dir="ltr"><<a href="mailto:yminsky@janestreet.com" target="_blank">yminsky@janestreet.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">By the way, getting merlin to work with pa_ounit is as simple as<br>
adding a line that says<br>
<br>
    EXT ounit<br>
<br>
to the .merlin file.  I'd also recommend customizing the warnings.  I<br>
do something like this:<br>
<br>
    FLG -w -4-33-40-41-42-43-34-44<br>
<br>
but the choice probably depends on the approach you're taking in the<br>
class.  Enabling type-directed constructor disambiguation is probably<br>
not a clear win for a class, for example.<br>
<span class="HOEnZb"><font color="#888888"><br>
y<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
On Wed, Nov 26, 2014 at 7:59 PM, David Walker <<a href="mailto:princedpw@gmail.com">princedpw@gmail.com</a>> wrote:<br>
> Thanks. I forwarded this on to my students.  We'll see if some of them try<br>
> it.<br>
><br>
> Dave<br>
><br>
> On Wed, Nov 26, 2014 at 2:39 PM, Yaron Minsky <<a href="mailto:yminsky@janestreet.com">yminsky@janestreet.com</a>><br>
> wrote:<br>
>><br>
>> There appears to be Merlin support for sublime text out there:<br>
>><br>
>> <a href="https://github.com/Cynddl/sublime-text-merlin" target="_blank">https://github.com/Cynddl/sublime-text-merlin</a><br>
>><br>
>> I think that coming up with good default setups for Merlin and the<br>
>> remaining build tools would be nice too.  For example, you want the<br>
>> compiler warnings in Merlin to mesh nicely with the ones you pick in<br>
>> your build.<br>
>><br>
>> y<br>
>><br>
>> On Wed, Nov 26, 2014 at 2:06 PM, David Walker <<a href="mailto:princedpw@gmail.com">princedpw@gmail.com</a>> wrote:<br>
>> > I agree that having good editor set-ups would be great.  I would love<br>
>> > one<br>
>> > that is compatible with Pa_ounit.<br>
>> ><br>
>> > By the way, I have also found that many of my students seem to prefer<br>
>> > using<br>
>> > sublime over emacs.<br>
>> ><br>
>> > Dave<br>
>> ><br>
>> > On Wed, Nov 26, 2014 at 1:15 PM, Yaron Minsky <<a href="mailto:yminsky@janestreet.com">yminsky@janestreet.com</a>><br>
>> > wrote:<br>
>> >><br>
>> >> My sense from having talked to a bunch of people who are teaching<br>
>> >> these classes in the US is that Windows is probably important longer<br>
>> >> term, but short term there are other higher value things to improve<br>
>> >> upon.  I think having good ways of doing graphical examples is surely<br>
>> >> one, and I tend to think that Javascript is a far better target than<br>
>> >> X11.<br>
>> >><br>
>> >> I'd also love to have good default editor setups that we could<br>
>> >> deliver, perhaps through OPAM itself.  Having a nicely set up editor<br>
>> >> configs with things like Merlin and ocp-indent working out of the box<br>
>> >> would be great.<br>
>> >><br>
>> >> y<br>
>> >><br>
>> >> On Wed, Nov 26, 2014 at 11:56 AM, Greg Morrisett<br>
>> >> <<a href="mailto:greg@eecs.harvard.edu">greg@eecs.harvard.edu</a>><br>
>> >> wrote:<br>
>> >> > Ditto at Harvard.<br>
>> >> ><br>
>> >> > -Greg<br>
>> >> ><br>
>> >> >> On Nov 26, 2014, at 10:44 AM, David Walker <<a href="mailto:princedpw@gmail.com">princedpw@gmail.com</a>><br>
>> >> >> wrote:<br>
>> >> >><br>
>> >> >> At Princeton, we also have lots of students with windows machines<br>
>> >> >> and<br>
>> >> >> support them by having them download a VM.<br>
>> >> >><br>
>> >> >> Dave<br>
>> >> >><br>
>> >> >> On Wed, Nov 26, 2014 at 10:17 AM, Benjamin Greenman<br>
>> >> >> <<a href="mailto:blg59@cornell.edu">blg59@cornell.edu</a>><br>
>> >> >> wrote:<br>
>> >> >> 1/ What systems does it need to work in ? Does that include Windows<br>
>> >> >> ?<br>
>> >> >><br>
>> >> >> For the functional programming course at Cornell, we dropped Windows<br>
>> >> >> support in favor of a vagrant vm [1] in Fall 2013 and have since<br>
>> >> >> been much<br>
>> >> >> happier. Students can just double-click a few things and have a<br>
>> >> >> working<br>
>> >> >> install (complete with extra packages like pa_ounit and qcheck), and<br>
>> >> >> staff<br>
>> >> >> no longer needs to worry about cross-platform issues (especially<br>
>> >> >> important<br>
>> >> >> for GUIs).<br>
>> >> >><br>
>> >> >> [1] <a href="https://github.com/cs3110/vagrant-opam" target="_blank">https://github.com/cs3110/vagrant-opam</a><br>
>> >> >><br>
>> >> >> _______________________________________________<br>
>> >> >> Teaching mailing list<br>
>> >> >> <a href="mailto:Teaching@lists.ocaml.org">Teaching@lists.ocaml.org</a><br>
>> >> >> <a href="http://lists.ocaml.org/listinfo/teaching" target="_blank">http://lists.ocaml.org/listinfo/teaching</a><br>
>> >> >><br>
>> >> >><br>
>> >> >> _______________________________________________<br>
>> >> >> Teaching mailing list<br>
>> >> >> <a href="mailto:Teaching@lists.ocaml.org">Teaching@lists.ocaml.org</a><br>
>> >> >> <a href="http://lists.ocaml.org/listinfo/teaching" target="_blank">http://lists.ocaml.org/listinfo/teaching</a><br>
>> >> ><br>
>> >> > _______________________________________________<br>
>> >> > Teaching mailing list<br>
>> >> > <a href="mailto:Teaching@lists.ocaml.org">Teaching@lists.ocaml.org</a><br>
>> >> > <a href="http://lists.ocaml.org/listinfo/teaching" target="_blank">http://lists.ocaml.org/listinfo/teaching</a><br>
>> ><br>
>> ><br>
><br>
><br>
_______________________________________________<br>
Teaching mailing list<br>
<a href="mailto:Teaching@lists.ocaml.org">Teaching@lists.ocaml.org</a><br>
<a href="http://lists.ocaml.org/listinfo/teaching" target="_blank">http://lists.ocaml.org/listinfo/teaching</a><br>
</div></div></blockquote></div><br></div>