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
Re: [Caml-list] Re: [Caml-announce] OCamldoc
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Stefano Lanzavecchia <stf@a...>
Subject: RE: [Caml-list] Re: [Caml-announce] OCamldoc

> Is there *anyone* that wants to write
>       (* Comment for f *)
>   val f : t
>       (* Comment for g *)
>   val g : t'

You mean, anyone who normally, when writing programs, either puts the
comment before the thing being commented, or 

   val f : t  (* Comment for f *)
   val g : t' (* Comment for g *)

on the same line as the thing being commented? Yes, that's me. I
consistently either put the comment on the lines before or on the same
line as. If I ever need to put a comment after the thing being commented
I use big warnings in my source code listings, to indicate that I am
talking about what appears before (read: above) the line containing the

WARNING: I am not an OCaml programmer. I program in other languages and
only follow this maillist because I'd love to learn enough OCaml to use
to solve some of my problems.

WildHeart'2k1 -

<<<All I Ever Learned, I Learned From Anime: ---
   All magical swords are as tall, or taller, than the wielder.>>>

Bug reports:  FAQ:
To unsubscribe, mail  Archives: