[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: continue/repeat...until false dichotomy
- From: spir <denis.spir@...>
- Date: Fri, 19 Feb 2010 12:00:59 +0100
On Thu, 18 Feb 2010 20:20:34 -0500
Doug Currie <doug.currie@gmail.com> wrote:
> On Feb 18, 2010, at 7:06 AM, David Kastrup wrote:
>
> > Different semantics in repeat-until from the C semantics (and strictly
> > speaking, C does not have something called repeat-until anyway) for
> > "continue" are something I continue to claim as useful.
>
> Yes. I would also expect continue to return to the top of the repeat loop. It's a much more useful option than jumping to the until-test, and avoids the scoping issue, as you pointed out.
>
> -- e
I fully agree with this behaviour. Is the (only?) obstacle to the introduction of "continue" then suppressed, if we can agree with this semantics?
Denis
________________________________
la vita e estrany
http://spir.wikidot.com/
- References:
- Re: continue/repeat...until false dichotomy, Matthew Wild
- Re: continue/repeat...until false dichotomy, David Given
- Re: continue/repeat...until false dichotomy, David Kastrup
- Re: continue/repeat...until false dichotomy, Mark Hamburg
- Re: continue/repeat...until false dichotomy, David Kastrup
- Re: continue/repeat...until false dichotomy, Majic
- Re: continue/repeat...until false dichotomy, David Kastrup
- Re: continue/repeat...until false dichotomy, David Kastrup
- Re: continue/repeat...until false dichotomy, Mark Hamburg
- Re: continue/repeat...until false dichotomy, David Kastrup
- Re: continue/repeat...until false dichotomy, Roberto Ierusalimschy
- Re: continue/repeat...until false dichotomy, David Kastrup
- Re: continue/repeat...until false dichotomy, Doug Currie