caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* ocamldoc and module signature
@ 2008-12-22 15:44 Philippe Veber
  2009-01-05  8:00 ` [Caml-list] " Maxence Guesdon
  0 siblings, 1 reply; 2+ messages in thread
From: Philippe Veber @ 2008-12-22 15:44 UTC (permalink / raw)
  To: caml-list

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-01-05  8:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-22 15:44 ocamldoc and module signature Philippe Veber
2009-01-05  8:00 ` [Caml-list] " Maxence Guesdon

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).