caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Philippe Veber" <philippe.veber@googlemail.com>
To: caml-list@yquem.inria.fr
Subject: ocamldoc and module signature
Date: Mon, 22 Dec 2008 16:44:26 +0100	[thread overview]
Message-ID: <721f7f5a0812220744r2299f43cy6995dbeca2cd3215@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 399 bytes --]

Hi,

  I'm a little bit puzzled with the behavior of ocamldoc (3.10.2 and 3.11.0)
on the following file :

a.ml :
====

module M : sig
  val l : int list
end
=
struct
  let l = []
end

The HTML documentation generated from the following call

ocamldoc -html a.ml

will describe A.M.l as a 'a list, while it's been constrained to int list by
the signature. Is this the expected behavior ?

Philippe.

[-- Attachment #2: Type: text/html, Size: 557 bytes --]

             reply	other threads:[~2008-12-22 15:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-22 15:44 Philippe Veber [this message]
2009-01-05  8:00 ` [Caml-list] " Maxence Guesdon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=721f7f5a0812220744r2299f43cy6995dbeca2cd3215@mail.gmail.com \
    --to=philippe.veber@googlemail.com \
    --cc=caml-list@yquem.inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).