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: 2001-10-10 (17:07)
From: Patrick M Doane <patrick@w...>
Subject: Re: [Caml-list] Re: [Caml-announce] OCamldoc
On Wed, 10 Oct 2001, Benjamin C. Pierce wrote:

> I.e., *one* kind of (not very) funny comment marker, plus using the
> indentation to decide whether the comment binds to the expression before
> or after:
>       if the comment is on a line by itself, 
>       then if its indentation is the same as the following (non-comment) line
>            then it goes with the following
>            else it goes with the preceding
>       else it goes with the line it's on.

This proposal looks perfect to me.

I've also noticed in the manual that all of the multi-line comment
examples are like this:

 (**  line 1
      line 2
      line 3 *)

Will there be any issues with writing comments like this?

 (** line 1
  *  line 2
  *  line 3


Bug reports:  FAQ:
To unsubscribe, mail  Archives: