On Wed Sep 16 14:53:40 2009, masak wrote:
> $ perl6 -e 'my $a = 0; loop while $a < 10 { say $a++ }'
> Confused at line 1, near "{ say $a++"
> [...]
> 
> I think the desired syntax is 'repeat while', not 'loop while'. The
> compiler could give a hint to that effect. Ditto 'loop until'.

Now gives the improved:

===SORRY!===␤Missing block at line 22,
               near "while $a <"

Not quite as awesome as STD's color coded reply. Good enough to close?

-- 
Will "Coke" Coleda

Reply via email to