Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Which syntax to teach ?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-10-26 (07:02)
From: Loup Vaillant <loup.vaillant@g...>
Subject: Re: [Caml-list] Which syntax to teach ?
2007/10/25, Andrej Bauer <>:
> Loup Vaillant wrote:
> > Aren't a mere Notepad and toplevel sufficient? (At least for a few
> > weeks).
> No, because cut & paste does not work in the windows version of ocaml
> toplevel. It is a nightmare for beginners. I speak from experience, so
> apparently we have different experiences.

Oh, s***. Now you remind me, I did have problems with this. It really
needs a fix.

Emacs's Tuareg mode works fine, though. Too bad it's not an option.
(Well, at least, a clueless newbe have a fighting chance with it,
unlike vi.)

As a last resort, the Camllight toplevel don't have the cut/paste
problem. Unless the students are to use functors, classes, or do
foreign calls, chances are that Camllight is enough, even for a fairly
big project. The differences between Ocaml and Camllight are tiny, so
switching to Ocaml later should not cause any problem.