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 FAA32534; Tue, 21 Jan 2003 05:51:07 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id FAA00602 for caml-list@pauillac.inria.fr; Tue, 21 Jan 2003 05:51:07 +0100 (MET) Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id CAA30315 for ; Tue, 21 Jan 2003 02:14:31 +0100 (MET) Received: from ajax.cs.uga.edu (ajax.cs.uga.edu [128.192.251.3]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h0L1ETr16944 for ; Tue, 21 Jan 2003 02:14:30 +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 UAA03172 for ; Mon, 20 Jan 2003 20:14:27 -0500 (EST) To: caml-list@inria.fr Subject: [Caml-list] view types in ocaml? From: Ed L Cashin Date: 20 Jan 2003 20:14:27 -0500 Message-ID: <8765sj718s.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: ecashin@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