Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
ocamldoc and module signature
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Philippe Veber <philippe.veber@g...>
Subject: ocamldoc and module signature

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

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

The HTML documentation generated from the following call

ocamldoc -html

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 ?