<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2003/01/2b72d4c560e6efe5525adf0843857a06"
  from="Ed L Cashin &lt;ecashin@u...&gt;"
  author="Ed L Cashin"
  date="2003-01-21T04:51:07"
  subject="[Caml-list] view types in ocaml?"
  prev="2003/01/18adbbf91ec34b35351de3a8ecc5092f"
  next="2003/01/c5aa93d21c0c93504dd2d03bd7e68762"
  next-in-thread="2003/01/f7d77168aebaebd82fa5520666ec3b3e"
  prev-thread="2003/01/18adbbf91ec34b35351de3a8ecc5092f"
  next-thread="2003/01/c5aa93d21c0c93504dd2d03bd7e68762"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] view types in ocaml?">
<msg 
  url="2003/01/2b72d4c560e6efe5525adf0843857a06"
  from="Ed L Cashin &lt;ecashin@u...&gt;"
  author="Ed L Cashin"
  date="2003-01-21T04:51:07"
  subject="[Caml-list] view types in ocaml?">
<msg 
  url="2003/01/f7d77168aebaebd82fa5520666ec3b3e"
  from="Yaron M. Minsky &lt;yminsky@C...&gt;"
  author="Yaron M. Minsky"
  date="2003-01-21T12:54:33"
  subject="Re: [Caml-list] view types in ocaml?">
<msg 
  url="2003/01/bf6d813c0d03ff819c067945cbcbcabd"
  from="Yaron M. Minsky &lt;yminsky@C...&gt;"
  author="Yaron M. Minsky"
  date="2003-01-21T14:42:56"
  subject="Re: [Caml-list] view types in ocaml?">
<msg 
  url="2003/01/6f1f42a6fc6d82c515c0fbf20ed92a74"
  from="Gérard_Huet &lt;Gerard.Huet@i...&gt;"
  author="Gérard_Huet"
  date="2003-01-21T16:38:33"
  subject="Re: [Caml-list] view types in ocaml?">
</msg>
</msg>
</msg>
</msg>
</thread>

<contents>
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 -&gt; int64 -&gt; Unix.seek_command -&gt; int64 = &lt;fun&gt;
  # 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

</contents>

</message>

