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
[Caml-list] labltk and ocaml 3.01
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-05-10 (10:02)
From: Jacques Garrigue <garrigue@k...>
Subject: Re: [Caml-list] labltk and ocaml 3.01
From: <>

> I'm completely new to FP and Caml in particular.
> I downloaded camltk417-2 and tried
> administrator@NTWSW2KJH /cygdrive/d/Temp
> $ labltk.exe

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.


        Jacques Garrigue
Jacques Garrigue      Kyoto University     garrigue at
		<A HREF=>JG</A>
To unsubscribe, mail  Archives: