[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [patch] continue statement
- From: Shannon Stewman <stew@...>
- Date: Mon, 12 Sep 2005 14:04:48 -0500
On Mon, Sep 12, 2005 at 11:06:37AM -0700, Chris Marrin wrote:
> >Here is another example where a standard way to do non-local exit would
> >help. The syntax was proposed in
> lets you do this:
The advantage to the block(nle) ... end form is you can pass the
non-local exit as a parameter to functions, so it can serve as an
exception system. I just tried to show another use that would avoid
cluttering the language with more keywords (break,continue,etc.).
Shannon Stewman | Let us walk through the waning night,
Caught in a whirlpool, | As dawn-rays tickle our toes, the dew soothes
A quartering act: | Our blistered soles, and damp bones stir
Solitude or society? | As crimson cracks under the blue-grey sky.