caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Alan Schmitt <alan.schmitt@polytechnique.org>
To: caml-list@inria.fr
Subject: Creating an lwt toplevel
Date: Tue, 6 Oct 2009 16:48:03 +0200	[thread overview]
Message-ID: <25ec8ca60910060748v89d8b6ck28706826bb836876@mail.gmail.com> (raw)

Hello,

I am trying to experiment with some code that uses lwt, and I would
like to do it in a toplevel. Unfortunately I seem to be missing a
step. Here is what I tried:

# #load "unix.cma";;
# #load "/Users/schmitta/godi/lib/ocaml/pkg-lib/lwt/lwt.cma";;
# open Lwt;;
Error: Unbound module Lwt

I then tried:

$ ocamlfind ocamlmktop -o lwtcaml -package lwt unix.cma lwt.cma
$ ./lwtcaml
        Objective Caml version 3.11.1

# open Lwt;;
Error: Unbound module Lwt

I feel like I'm missing something obvious, but cannot see what it is right now.

Thanks for any suggestion,

Alan


             reply	other threads:[~2009-10-06 14:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-06 14:48 Alan Schmitt [this message]
2009-10-06 14:56 ` [Caml-list] " RABIH.EL-CHAAR
2009-10-06 15:01 ` Chantal KELLER
2009-10-06 15:13   ` Alan Schmitt
2009-10-06 15:26 ` Jérémie Dimino
2009-10-07  8:25   ` Alan Schmitt

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=25ec8ca60910060748v89d8b6ck28706826bb836876@mail.gmail.com \
    --to=alan.schmitt@polytechnique.org \
    --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).