From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: ** X-Spam-Status: No, score=2.9 required=5.0 tests=AWL,DNS_FROM_RFC_POST, SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 24601BBAF for ; Tue, 6 Oct 2009 16:48:41 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AngBAPf1ykrRVd+smGdsb2JhbACaOT8BAQEBAQgJDAcTqH2PGAEDAwWEJQSIPw X-IronPort-AV: E=Sophos;i="4.44,513,1249250400"; d="scan'208";a="35778948" Received: from mail-iw0-f172.google.com ([209.85.223.172]) by mail3-smtp-sop.national.inria.fr with ESMTP; 06 Oct 2009 16:48:05 +0200 Received: by iwn2 with SMTP id 2so2180092iwn.1 for ; Tue, 06 Oct 2009 07:48:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=85rZo/QmSxjfPvfy5Zy3FDFlzTKnrNjZeS1Hh3IOb8s=; b=C7XLG3LGRhJTNmngCoJhPqgCQpRCg7EfnWVhRawA7SaYbwe8hjpB7T6x1Q4BtKujqy yvIY92QSYD0eMmLrouxwhxfi5v30SUaWSo583rUHY1/B44f6Ot6UR/VGhwf0NMLUuDD0 SgT0sGAWjkvT4pDIKyC+Qgj+i1TmJKYT7gD20= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=WBg4HuuRKjyGUS5f+cxItpqUB8i0U828CXuUrhWqUoY+adsxIWtKx4N1IyY8LAiokQ o3iabMVVyAbBWn/VewvJu/kIf/bFneJdOC6eRP4vkXw4HeH8df0qg0BmxKVc3GITJ2zR +I7gAsqU8RJ53xJo4MMypUdK7OuYYup2XvsxM= MIME-Version: 1.0 Sender: brab.alan@gmail.com Received: by 10.231.25.160 with SMTP id z32mr2956341ibb.5.1254840483817; Tue, 06 Oct 2009 07:48:03 -0700 (PDT) Date: Tue, 6 Oct 2009 16:48:03 +0200 X-Google-Sender-Auth: 3d504b9c5609a329 Message-ID: <25ec8ca60910060748v89d8b6ck28706826bb836876@mail.gmail.com> Subject: Creating an lwt toplevel From: Alan Schmitt To: caml-list@inria.fr Content-Type: text/plain; charset=ISO-8859-1 X-Spam: no; 0.00; toplevel:01 schmitt:01 schmitt:01 toplevel:01 lib:01 ocaml:01 ocamlfind:01 ocamlmktop:01 -package:01 unbound:01 unbound:01 unix:01 unix:01 cma:01 cma:01 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