From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id MAA01748; Thu, 10 May 2001 12:02:59 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id MAA01743 for ; Thu, 10 May 2001 12:02:58 +0200 (MET DST) Received: from kurims.kurims.kyoto-u.ac.jp (kurims.kurims.kyoto-u.ac.jp [130.54.16.1]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f4AA2un16385 for ; Thu, 10 May 2001 12:02:56 +0200 (MET DST) Received: from localhost (mikan.kurims.kyoto-u.ac.jp [130.54.16.202]) by kurims.kurims.kyoto-u.ac.jp (8.9.3/3.7W) with ESMTP id TAA25544; Thu, 10 May 2001 19:02:46 +0900 (JST) To: a9502276@unet.univie.ac.at Cc: caml-list@inria.fr Subject: Re: [Caml-list] labltk and ocaml 3.01 In-Reply-To: References: X-Mailer: Mew version 1.94.2 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010510190245L.garrigue@kurims.kyoto-u.ac.jp> Date: Thu, 10 May 2001 19:02:45 +0900 From: Jacques Garrigue X-Dispatcher: imput version 20000228(IM140) Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk From: > I'm completely new to FP and Caml in particular. > > I downloaded camltk417-2 and tried helloworld.ml: > > administrator@NTWSW2KJH /cygdrive/d/Temp > $ labltk.exe helloworld.ml The problem is clear enough: you are trying to use labltk with a camltk program. LablTk and CamlTk are two different libraries, but they share the same module names, since LablTk is a dervative from CamlTk. LablTk is included in the OCaml distribution, but CamlTk has to be downloaded independently. Both libraries have basically the same functionality, but they adopt a different style: in CamlTk options are passed as lists of constructors, while in LablTk optional arguments are used. A few examples for LablTk are available, but infortunately they are not included in the binary distribution for Windows. You have to get the source distribution, and look in otherlibs/labltk/example. On the other hand, if you want to use CamlTk, you must first compile and install it. Cheers, Jacques Garrigue --------------------------------------------------------------------------- Jacques Garrigue Kyoto University garrigue at kurims.kyoto-u.ac.jp JG ------------------- To unsubscribe, mail caml-list-request@inria.fr. Archives: http://caml.inria.fr