caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Pierre Weis <Pierre.Weis@inria.fr>
To: rbauer@rational.com (Bauer, Robert)
Cc: caml-list@inria.fr
Subject: Re: Help with toplevel
Date: Thu, 8 Feb 2001 19:40:46 +0100 (MET)	[thread overview]
Message-ID: <200102081840.TAA09086@pauillac.inria.fr> (raw)
In-Reply-To: <A3AF185A9D48B3489F7CD9FE0F6E63A0036F52@sus-ca3it10> from "Bauer, Robert" at "Feb 7, 101 01:51:03 pm"

> Hi all,
> 
> I new to ocaml but not to ml.  I've installed ocaml 3.00 on my unix systems
> and my windows systems.  On each of these platforms, I cannot use top level
> functions such as "use", "quit", etc.
> 
> I've checked the sources in toplevel and the "functions" are defined, but
> for some reason they are not defined in my executables - so, I think that I
> am must not be doing something that I should (be doing).
> 
> Help???????
> 
> Robert

Have a look at the basic Objective Caml examples at adress

http://pauillac.inria.fr/caml/Examples/oc/basics/eng.html

Calling the Caml compiler:
  to compile the file hello.ml to executable program a.out type
    ocamlc hello.ml
  to compile the file hello.ml to executable program hello type
    ocamlc -o hello hello.ml


To try interactively: call the Caml interactive system
        ocaml

Then type in (don't forget the initial # sign, that
indicates a directive)

        #use "loadall.ml";;

Hope this helps,

Pierre Weis

INRIA, Projet Cristal, Pierre.Weis@inria.fr, http://pauillac.inria.fr/~weis/




  reply	other threads:[~2001-02-08 18:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-07 21:51 Bauer, Robert
2001-02-08 18:40 ` Pierre Weis [this message]
2001-02-09 14:55   ` CREGUT Pierre FTRD/DTL/LAN

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=200102081840.TAA09086@pauillac.inria.fr \
    --to=pierre.weis@inria.fr \
    --cc=caml-list@inria.fr \
    --cc=rbauer@rational.com \
    /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).