Re: [Proposal] break do end
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: [Proposal] break do end
- From: Coroutines <coroutines@...>
- Date: 2014年8月27日 23:28:57 -0700
On Wed, Aug 27, 2014 at 8:00 PM, Coda Highland <chighland@gmail.com> wrote:
> No, until true would make it loop. until false makes the body of the
> loop execute exactly once.
>
> /s/ Adam
>
While breaking from a 'repeat' would allow you to use break in that
way with the same scoping rules -- I feel like it's not immediately
obvious. +1 to Thiago?