Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Toplevel Wish
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Eric Cooper <ecc@c...>
Subject: Re: [Caml-list] Toplevel Wish
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