Re: how to write literals of some Perl 6 types?

2008-12-06 Thread Dave Whipp
Carl Mäsak wrote: Paul (>): I can't find anything in the existing synopses about Blobs. Probably looking in the wrong place, sorry. Re-reading that, a slightly tangent (though still on topic, I hope) thought come to mind. The definition of the M

Re: Support for ensuring invariants from one loop iteration to the next?

2008-12-06 Thread Aristotle Pagaltzis
* David Green <[EMAIL PROTECTED]> [2008-12-05 15:45]: > I tried to break down the reasons for wanting to write such > loops different ways: > > 1) Simple code […] > 2) Clear code […] > 3) Self-documenting code […] Yes, exactly right. > What we need is something a bit like the "continue" block, >

Re: Support for ensuring invariants from one loop iteration to the next?

2008-12-06 Thread John Macdonald
On Thu, Dec 04, 2008 at 04:40:32PM +0100, Aristotle Pagaltzis wrote: > * [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2008-12-03 21:45]: > > loop { > > doSomething(); > > next if someCondition(); > > doSomethingElse(); > > } > > I specifically said that I was aware of this solution and that I >