Version française
Home     About     Download     Resources     Contact us    
Browse thread
Creating an lwt toplevel
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Alan Schmitt <alan.schmitt@p...>
Subject: Creating an lwt toplevel
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