[erlang-questions] Multi-line comments in Erlang

Rapsey <>
Tue Dec 7 19:20:40 CET 2010


Is it that important? Any proper programming editor can comment/uncomment
multiple lines.


Sergej

On Tue, Dec 7, 2010 at 5:49 PM, Zvi . <> wrote:

> 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 <
> >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:
> > >
> >
> >
>


More information about the erlang-questions mailing list