[erlang-questions] Multi-line comments in Erlang

Zvi . zvi.avraham@REDACTED
Tue Dec 7 17:49:37 CET 2010


Why do you think it's not possible?
It's just simple change to Erlang source code parser.
Probably this should be submitted as EEP, so OTP team will consider it.

On Tue, Dec 7, 2010 at 6:25 PM, James Churchman <jameschurchman@REDACTED>wrote:

> not posible in erlang, but many editors (eg i use textmate) will comment
> and uncomment multiple lines with % on each line..
> On 7 Dec 2010, at 15:32, Zvi wrote:
>
> > Hi,
> >
> > Matlab/Octave has single line comments, like Erlang (i.e. starting
> > with '%' sign). But it also have multi-line comments, like for
> > example:
> >
> > %{
> > this is example
> > of multi-line
> > comments in Matlab
> > %}
> >
> > which is equivalent to:
> >
> > %this is example
> > %of multi-line
> > %comments in Matlab
> >
> > How difficult is to add comments like this to Erlang?
> >
> > Thanks,
> > Zvi
> >
> > ________________________________________________________________
> > erlang-questions (at) erlang.org mailing list.
> > See http://www.erlang.org/faq.html
> > To unsubscribe; mailto:erlang-questions-unsubscribe@REDACTED
> >
>
>


More information about the erlang-questions mailing list