From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 5149BBBBB for ; Fri, 10 Feb 2006 04:05:35 +0100 (CET) Received: from ux9.sp.cs.cmu.edu (UX9.SP.CS.CMU.EDU [128.2.220.166]) by concorde.inria.fr (8.13.0/8.13.0) with SMTP id k1A35Y6c003292 for ; Fri, 10 Feb 2006 04:05:34 +0100 Received: from c-24-3-154-200.hsd1.pa.comcast.net ([24.3.154.200]) by ux9.sp.cs.cmu.edu id aa15640; 9 Feb 2006 22:05 EST Received: from ecc by stratocaster.home with local (Exim 4.60) (envelope-from ) id 1F7Oat-0003uD-QH for caml-list@yquem.inria.fr; Thu, 09 Feb 2006 22:05:11 -0500 Date: Thu, 9 Feb 2006 22:05:11 -0500 To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Toplevel Wish Message-ID: <20060210030511.GA15007@localhost> Mail-Followup-To: caml-list@yquem.inria.fr References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11 From: Eric Cooper X-Miltered: at concorde with ID 43EC02FE.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 toplevel:01 toplevel:01 printf:01 sig:01 printf:01 sig:01 val:01 fprintf:01 val:01 wrote:01 unit:03 unit:03 module:03 module:03 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 On Fri, Feb 10, 2006 at 03:58:14PM +1300, Jonathan Roewen wrote: > I think it would be awesome if the toplevel would be able to spit out > the interface to a module. > > Like: > > # Printf;; > and it prints out a Module = sig ... end of the module if found. # module P = Printf;; module P : sig val fprintf : out_channel -> ('a, out_channel, unit) format -> 'a val printf : ('a, out_channel, unit) format -> 'a .... end -- Eric Cooper e c c @ c m u . e d u