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=1.6 required=5.0 tests=AWL,DNS_FROM_RFC_ABUSE, 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 nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 7231DBC29 for ; Mon, 28 Aug 2006 11:49:25 +0200 (CEST) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.230]) by nez-perce.inria.fr (8.13.6/8.13.6) with ESMTP id k7S9nO0d022547 for ; Mon, 28 Aug 2006 11:49:25 +0200 Received: by wx-out-0506.google.com with SMTP id s6so1711401wxc for ; Mon, 28 Aug 2006 02:49:21 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=PMp5vrfaOTgTO1F6CPpCZQle2AaDzhm9EirYNHQ2BpU0Kq5KtqXTnUPVx/5dK6H0PaX6mtv0We0e8kSJxf4qfqgOyO5nn4gkmkFcqoKDoYb5qmXRYFC3X9lGMspcw25ZPuWjBWXdOUduT46brX0mBFeb5LzRP5yrl2COWJ9MAVc= Received: by 10.70.18.11 with SMTP id 11mr8966170wxr; Mon, 28 Aug 2006 02:49:21 -0700 (PDT) Received: by 10.70.84.13 with HTTP; Mon, 28 Aug 2006 02:49:21 -0700 (PDT) Message-ID: Date: Mon, 28 Aug 2006 21:49:21 +1200 From: "Jonathan Roewen" To: "Vu Ngoc San" Subject: Re: [Caml-list] mixing dynlink & toplevel... Cc: "Caml Mailing List" In-Reply-To: <44F2BA4E.4000103@laposte.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <44F2BA4E.4000103@laposte.net> X-j-chkmail-Score: MSGID : 44F2BC24.000 on nez-perce : j-chkmail score : X : 0/20 1 X-Miltered: at nez-perce with ID 44F2BC24.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; dynlink:01 toplevel:01 toplevellib:01 ocaml:01 ocaml:01 cmi:01 lib:01 toplevel:01 caml-list:01 interfaces:01 alan:01 somewhere:03 implement:05 manual:06 mixing:07 > By the way, is there somewhere a doc for toplevellib ? It is not in the > "official" ocaml manual, and, googgleing a little bit, I could not find > anything. None that I know of. An ocaml distribution puts a couple of the .cmi files in the ocaml lib dir, so you could examine the interfaces via the toplevel... I remember a mailing post detailing how to implement something similar to pythons eval using the toplevel. http://alan.petitepomme.net/cwn/2004.04.13.html#2 Jonathan