[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how useful are collecting lists?

This page is part of the web mail archives of SRFI 110 from before July 7th, 2015. The new archives for SRFI 110 contain all messages, not just those from before July 7th, 2015.

> On Mar 13, 2013 10:15 PM, "Alan Manuel Gloria" <almkglor@xxxxxxxxx> wrote:
> >
> > re this:
> >
> > +<li>adding a comment on each blank line, or</li>
> > +<li>adding \\ on each blank line</li>
> >
> > I'd rather:
> >
> > +<li>putting an empty <code>;</code>-comment on each blank line, or</li>
> > +<li>adding a correctly-indented GROUP (<code>\\</code>) on each blank line</li>

The reword looks better, but it's actually not just a correctly-indented GROUP, it's:
+<li>adding a correctly-indented GROUP (<code>\\</code>) or "special comment"
(such as #|...|#)  on each blank line</li>

If you're going to list *all* the possible ways, special comments will do the same thing:
aa bb
! cc dd
! #| more stuff |#
! ee ff
; => (aa bb (cc dd) (ee ff))

Of course, changing a blank line to a ;-only line is usually the better approach!!

On Thu, 14 Mar 2013 02:48:23 -0700, Beni Cherniavsky-Paskin <cben@xxxxxxxxxxxx> wrote:
> A non-empty comment works too, right?
> Of course an empty comment is minimally obtrusive, but this may be read as
> if it MUST be empty.

Yes, a non-empty comment works too.
I think he meant a ;-comment-only line, optionally preceded by indent characters.

--- David A. Wheeler