On 7/20/06, Smylers <[EMAIL PROTECTED]> wrote:
Markus Laire writes:

> S04 seems to say that a style like this can't be used by
> perl6-programmers:
>
> loop
>  {
>    ...
>  }
> while $x;
>
> I like this style, as it lines up both the keywords and the curlies.

As of yesterday you can get very close to this by putting a space-eating
backslash after the closing brace:

  loop
   {
     ...
   }\
  while $x;

That still has the keywords and the braces aligned.

Yes. First I didn't like that additional slash, but now that I think
it more, it does give a nice visual clue that C<while> belongs to the
preceding block.

(And that doesn't affect auto-indenting in vim)

--
Markus Laire

Reply via email to