Erlang language issues

Peter H|gfeldt peter@REDACTED
Fri Apr 19 13:03:28 CEST 2002


On Thu, 18 Apr 2002, Robert Virding wrote:
[...]
> 
> That is why I have been against block comments.  If they are so great 
> why were line comments added to C++?

I completely agree. If you want to annotate your documentation with proper
Erlang module code, you can do as follows :-). 

-module(nocommentsplease).
-export([foo/0]).

-ifdef(BULKYBLOCKCOMMENT).

<A few pages of documentation goes here>. 

-endif.

foo() ->
    bar.

/Peter





More information about the erlang-questions mailing list