From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=AWL,DNS_FROM_RFC_ABUSE autolearn=disabled version=3.1.3 Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 5EBF6BC0A for ; Mon, 8 Jan 2007 00:17:51 +0100 (CET) Received: from rabbit.math.nagoya-u.ac.jp (rabbit.math.nagoya-u.ac.jp [133.6.130.5]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l07NHm2M018564 for ; Mon, 8 Jan 2007 00:17:50 +0100 Received: from localhost (rabbit-172 [172.16.254.254]) by rabbit.math.nagoya-u.ac.jp (8.12.11/3.7W) with ESMTP id l07NHis5020757; Mon, 8 Jan 2007 08:17:44 +0900 (JST) Date: Mon, 08 Jan 2007 08:17:44 +0900 (JST) Message-Id: <20070108.081744.2004152960.garrigue@math.nagoya-u.ac.jp> To: David.Teller@univ-orleans.fr Cc: caml-list@inria.fr Subject: Re: [Caml-list] Before teaching OCaml From: Jacques GARRIGUE In-Reply-To: <1168193722.6133.38.camel@Blefuscu> References: <1168193722.6133.38.camel@Blefuscu> X-Mailer: Mew version 4.2 on Emacs 21.4 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Miltered: at discorde with ID 45A17F9C.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocaml:01 univ-orleans:01 ocaml:01 lablgtk:01 low-level:01 labltk:01 emacs:01 emacs:01 toplevel:01 labltk:01 beginners:01 caml-list:01 caml:02 graphics:02 graphics:02 From: David Teller > I'm going to start teaching OCaml soon and I'm fishing for ideas and > suggestions. I hope this list is the right place to ask. [..] > I'm planning to base my lecture roughly on part 1 of _Developing > applications with Objective Caml_, perhaps replacing the chapter devoted > to Graphics with the use of LablGTK. Then again, perhaps not. Some > low-level graphics might be interesting for them. I also intend to give > them a term-long project to work on and develop. For the graphics, I would rather suggest lablTk. It is much easier to use for beginners. And you can even work interactively using the Tk.update command. > * the environment -- under Windows, is there any viable alternative to > Emacs + the MinGW-based port ? For writing programs, emacs helps a lot. In particular, the possibility to execute phrases in the toplevel while editing a file makes things much easier. Emacs looks scary, but for this specific case you only need a limited number of key combinations :-) Once you've installed Tcl/Tk (required for LablTk), then you can use ocamlbrowser. It can be helpful too, particularly for browsing the library. (These are very personal suggestions...) Jacques Garrigue