caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jacques Garrigue <garrigue@kurims.kyoto-u.ac.jp>
To: a9502276@unet.univie.ac.at
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] labltk and ocaml 3.01
Date: Thu, 10 May 2001 19:02:45 +0900	[thread overview]
Message-ID: <20010510190245L.garrigue@kurims.kyoto-u.ac.jp> (raw)
In-Reply-To: <Pine.A41.3.96.1010510112810.168938A-100000@unet.univie.ac.at>

From: <a9502276@unet.univie.ac.at>

> 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
		<A HREF=http://wwwfun.kurims.kyoto-u.ac.jp/~garrigue/>JG</A>
-------------------
To unsubscribe, mail caml-list-request@inria.fr.  Archives: http://caml.inria.fr


      reply	other threads:[~2001-05-10 10:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-10  9:38 a9502276
2001-05-10 10:02 ` Jacques Garrigue [this message]

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=20010510190245L.garrigue@kurims.kyoto-u.ac.jp \
    --to=garrigue@kurims.kyoto-u.ac.jp \
    --cc=a9502276@unet.univie.ac.at \
    --cc=caml-list@inria.fr \
    /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;
as well as URLs for NNTP newsgroup(s).