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.3 required=5.0 tests=AWL,DNS_FROM_RFC_ABUSE, RCVD_IN_BL_SPAMCOP_NET,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 discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 2E5EFBC68 for ; Wed, 27 Sep 2006 04:57:45 +0200 (CEST) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.224]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id k8R2viPU022336 for ; Wed, 27 Sep 2006 04:57:44 +0200 Received: by wx-out-0506.google.com with SMTP id s7so54153wxc for ; Tue, 26 Sep 2006 19:57:41 -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=VqFltWWooLRjXw9dXce1PQ7MwrSiKr6w6XA2q275ZyrK96GvnO0O15SyI+Dk2K31iUHfVbJGfoYsFOnUWhT51U/e9N8ElrdO+DDNSI/GFTE7GoL3zFYw1KB9Irvc+mBi/k0gnIJN7WhPEHcHQVk8DrKvdjFzYEyF/3GSA1V4bwU= Received: by 10.70.74.6 with SMTP id w6mr403002wxa; Tue, 26 Sep 2006 19:57:41 -0700 (PDT) Received: by 10.70.122.8 with HTTP; Tue, 26 Sep 2006 19:57:41 -0700 (PDT) Message-ID: Date: Wed, 27 Sep 2006 14:57:41 +1200 From: "Jonathan Roewen" To: "John Harrison" Subject: Re: [Caml-list] Re: Listing toplevel bindings Cc: oleg@pobox.com, caml-list@inria.fr In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060926080120.5B3B7AC04@Adric.metnet.fnmoc.navy.mil> X-j-chkmail-Score: MSGID : 4519E8A8.000 on discorde : j-chkmail score : X : 0/20 1 X-Miltered: at discorde with ID 4519E8A8.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; toplevel:01 bindings:01 ocaml:01 reloading:01 toplevel:01 makefile:01 compiler:01 makefile:01 caml-list:01 grep:01 modules:02 rebuild:03 guess:04 patch:08 i'm:08 > Would a few small changes to the OCaml sources render all that reloading > unnecessary, I wonder? It's not the sources :) You should be able to rebuild the toplevel, and skip the expunge step (grep for expunge in the base makefile) -- it erases compiler modules such that they act is if not present (though I'm not entirely sure if it erases them completely; my guess would be it doesn't). For distribution, you'd need to patch the makefile (not a big change though), or provide a toplevel that's not expunged. I believe that'd do it. Jonathan