Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: vincent.monfort@inria.fr
To: caml-list@inria.fr
Subject: [Caml-list] ocamldoc changes the names of polymorphic types
Date: Thu, 16 Jun 2011 18:02:40 +0200	[thread overview]
Message-ID: <sympa.1308237692.15823.257@inria.fr> (raw)
In-Reply-To: 

Hi everyone,
I used particular names for some polymorphic types in my .mli files but these
names were replaced with default names by ocamldoc in the documentation.
E.g.:
.mli:
type ('dom,'tf) manager = {
  bot : 'dom; 
  ...
}

.html:
type ('a, 'b) manager = {
	bot : 'a;
	...
}

Is there any way to force ocamldoc to keep the names given in the documentation
?
If it is not the case I think it would be a good thing because it could make
the documentation more readable.

Regards,

Vincent 

             reply	other threads:[~2011-06-16 16:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-16 16:02 vincent.monfort [this message]
2011-06-16 16:27 ` Gabriel Scherer

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=sympa.1308237692.15823.257@inria.fr \
    --to=vincent.monfort@inria.fr \
    --cc=caml-list@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