From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id EAA32010; Tue, 21 Jan 2003 04:13:15 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id EAA31827 for ; Tue, 21 Jan 2003 04:13:13 +0100 (MET) Received: from ajax.cs.uga.edu (ajax.cs.uga.edu [128.192.251.3]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h0L3DCv14288 for ; Tue, 21 Jan 2003 04:13:13 +0100 (MET) Received: from cs.uga.edu (ajax [128.192.251.3]) by ajax.cs.uga.edu (8.9.3/8.9.3) with ESMTP id WAA09060 for ; Mon, 20 Jan 2003 22:13:10 -0500 (EST) To: caml-list@inria.fr From: Ed L Cashin Subject: [Caml-list] view types in ocaml? Date: 20 Jan 2003 22:13:10 -0500 Message-ID: <871y376vqx.fsf@cs.uga.edu> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi. I like ocamlbrowser well enough, but is there a way to view type info right from the interactive ocaml prompt? Here's what I'm thinking of (which won't work, of course). Objective Caml version 3.06 # #load "unix.cma";; # Unix.LargeFile.lseek;; - : Unix.file_descr -> int64 -> Unix.seek_command -> int64 = # Unix.LargeFile.stats;; type stats = { st_dev : int; st_ino : int; st_kind : Unix.file_kind; st_perm : Unix.file_perm; st_nlink : int; st_uid : int; st_gid : int; st_rdev : int; st_size : int64; st_atime : float; st_mtime : float; st_ctime : float; } -- --Ed L Cashin | PGP public key: cashin@cs.uga.edu | http://noserose.net/e/pgp/ ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners