[erlang-questions] block comments

Richard A. O'Keefe ok@REDACTED
Fri Jul 18 02:58:26 CEST 2014


On 18/07/2014, at 12:11 PM, <lloyd@REDACTED> wrote:
> But why doesn't Erlang have a method for commenting out a block of lines in a module without
> having to tag every line with %?

See the Ada rationale.
>  
> Or did I miss that page?
>  
> It would be so convenient  at times.

In my text editor, writing Prolog, I can comment out
a region in one of two ways:

<visit beginning>               <visit beginning>
<mark>                          <mark>
<visit end>                     <visit end>
Meta-/                          Meta-%

It's the same number of keystrokes to get /**/ around
or % on every line.





More information about the erlang-questions mailing list