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: Jérémie Dimino <jeremie@d...>
Subject: Re: [Caml-list] Creating an lwt toplevel
Hello,

Le mardi 06 octobre 2009 à 16:48 +0200, Alan Schmitt a écrit :
> 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";;

The easiest way is to use findlib:

# #use "topfind";;
# #require "lwt";;

-- 
Jérémie