<?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="2009/01/9e4f8af4e79a8b6bbd0e3e1bf261fcf9"
  from="Maxence Guesdon &lt;maxence.guesdon@i...&gt;"
  author="Maxence Guesdon"
  date="2009-01-05T08:00:16"
  subject="Re: [Caml-list] ocamldoc and module signature"
  prev="2009/01/f0434180d03922ac0bb52d524aa79d6f"
  next="2009/01/6383f62ce2839d25bfa9517ddbb5e894"
  prev-in-thread="2008/12/247c618a12b5880b52740c8f069dab1d"
  prev-thread="2008/12/3e5e4645c1a33c5ff0929f6563168748"
  next-thread="2008/12/65d3821f971e71643730d206c42741e0"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="ocamldoc and module signature">
<msg 
  url="2008/12/247c618a12b5880b52740c8f069dab1d"
  from="Philippe Veber &lt;philippe.veber@g...&gt;"
  author="Philippe Veber"
  date="2008-12-22T15:44:28"
  subject="ocamldoc and module signature">
<msg 
  url="2009/01/9e4f8af4e79a8b6bbd0e3e1bf261fcf9"
  from="Maxence Guesdon &lt;maxence.guesdon@i...&gt;"
  author="Maxence Guesdon"
  date="2009-01-05T08:00:16"
  subject="Re: [Caml-list] ocamldoc and module signature">
</msg>
</msg>
</thread>

<contents>
On Mon, 22 Dec 2008 16:44:26 +0100
"Philippe Veber" &lt;philippe.veber@googlemail.com&gt; wrote:

&gt; Hi,

Hello,

&gt;   I'm a little bit puzzled with the behavior of ocamldoc (3.10.2 and 3.11.0)
&gt; on the following file :
&gt; 
&gt; a.ml :
&gt; ====
&gt; 
&gt; module M : sig
&gt;   val l : int list
&gt; end
&gt; =
&gt; struct
&gt;   let l = []
&gt; end
&gt; 
&gt; The HTML documentation generated from the following call
&gt; 
&gt; ocamldoc -html a.ml
&gt; 
&gt; will describe A.M.l as a 'a list, while it's been constrained to int list by
&gt; the signature. Is this the expected behavior ?

No, it's not. Can you fill a bug report ?
Thanks.

Regards,

-- 
Maxence Guesdon                           http://yquem.inria.fr/~guesdon/
Service Expérimentation et Développements https://devel.inria.fr/rocq/
INRIA Paris-Rocquencourt                  http://www.inria.fr/rocquencourt/




</contents>

</message>

