From: Drup <drupyog+caml@zoho.com>
To: John Whitington <john@coherentgraphics.co.uk>,
"caml-list@inria.fr" <caml-list@inria.fr>
Subject: Re: [Caml-list] teaching OCaml
Date: Wed, 26 Nov 2014 15:26:17 +0100 [thread overview]
Message-ID: <5475E309.8080801@zoho.com> (raw)
In-Reply-To: <5474C8C4.2010807@coherentgraphics.co.uk>
There are custom toplevels for js_of_ocaml where you can experiment with
reactive and interactive features, a bit like Elm's "IDE".
See https://github.com/ocsigen/js_of_ocaml#toplevel and
http://ocsigen.github.io/js_of_ocaml/#version=4.02.0
The source code is [here][1] and should be quite easy to modify if you
want to add a library (or modify the UI to make the drawing area bigger).
[1]: https://github.com/ocsigen/js_of_ocaml/tree/master/toplevel
Le 25/11/2014 19:21, John Whitington a écrit :
> Hi,
>
> Robert Muller wrote:
>> Thank you John. I will look at your graphics library, much appreciated.
>> I didn't require it this first time through but many of my students
>> bought your book:
>>
>> http://www.cs.bc.edu/~muller/teaching/cs110105/f14/lib/html/textbooks.html
>>
>>
>> They tell me it is very helpful.
>>
>> To me, what is needed to get ML-in-101 off the ground is simplicity:
>>
>> 1. a simple implementation/IDE that is trivial to install and "just
>> works" on macs, Windows (and linux, I suppose), I am thinking of
>> something like the experience I had in the past with Dr. Java.
>> 2. a simple, no fuss library for graphics, animation and audio something
>> like Sedgewick & Wayne's stdlib (http://algs4.cs.princeton.edu/code/)
>> 3. decent error messages for both syntax errors and type errors.
>>
>> Ideally, I would prefer that both the IDE and the graphics/audio were
>> hosted in a brower
>> much like in Elm (http://elm-lang.org/).
>
> Have you seen this? I've not used it but I believe it's related:
>
> https://github.com/andrewray/iocaml
>
>> I am only dimly aware of other universities teaching ML. I know that
>> some folks in Denmark are using F#. Do you know if any schools in Europe
>> are using OCaml in intro courses?
>
> Here's a list, to which you can add yourself:
>
> http://ocaml.org/learn/teaching-ocaml.html
>
> We teach Standard ML at Cambridge, so we have even fewer tools :-) But
> then we don't do anything graphical. Our first years do ML & Java, so
> they get plenty of graphical / GUI work with Java.
>
> Here's what our ML course looks like (and, basically, has done since
> 1994):
>
> http://www.cl.cam.ac.uk/teaching/1415/FoundsCS/fcs-notes.pdf
>
next prev parent reply other threads:[~2014-11-26 14:26 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-25 16:03 robert.muller2
2014-11-25 16:33 ` John Whitington
[not found] ` <CAKmYinnv1arGZGQ2s0O7K2u=hr=oieiDXzR8YU_habM4+bUdJA@mail.gmail.com>
[not found] ` <5474C87D.4030307@coherentgraphics.co.uk>
2014-11-25 18:21 ` John Whitington
2014-11-26 14:26 ` Drup [this message]
2014-11-26 16:34 ` Xavier Leroy
2014-11-25 19:40 ` Daniel Bünzli
2014-11-26 11:37 ` Kenichi Asai
2014-11-26 18:12 ` Yaron Minsky
2014-11-26 22:09 ` Marek Kubica
2014-11-26 12:16 ` Jonathan Kimmitt
2014-12-16 19:17 ` Jon Harrop
-- strict thread matches above, loose matches on Subject: below --
2014-11-25 16:43 Arthur Charguéraud
2014-11-25 17:27 ` Alain Frisch
2014-11-25 17:33 ` Arthur Charguéraud
[not found] <16574.54515.560699.848619@gargle.gargle.HOWL>
2004-06-03 14:27 ` [Caml-list] Teaching OCaml Brian Hurt
2004-05-17 11:28 Simão Melo de Sousa
2004-05-17 17:27 ` Michael Hamburg
2004-05-17 17:40 ` David Brown
2004-05-18 8:52 ` Richard Jones
2004-06-02 17:41 ` Holger Schulz
2004-05-17 21:12 ` Evan Martin
2004-06-02 12:43 ` Holger Schulz
2004-06-02 13:06 ` Nicolas Cannasse
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5475E309.8080801@zoho.com \
--to=drupyog+caml@zoho.com \
--cc=caml-list@inria.fr \
--cc=john@coherentgraphics.co.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox