[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: special forms, take two (was Re: A lua version of "amb")
- From: Tony Finch <dot@...>
- Date: Thu, 1 Mar 2012 13:45:27 +0000
Roberto Ierusalimschy <roberto@inf.puc-rio.br> wrote:
> > Blocks are associated with Tennent's Correspondence Principle which can
> > lead to fun with continuations - http://fanf.livejournal.com/118421.html
>
> This principle, or more exactly its interpretation, sounds strange. What
> changes the meaning of a break or a continue is not putting them inside
> a block, but inside a loop.
I meant Smalltalk or Ruby blocks, which are a form of closure.
Tony.
--
f.anthony.n.finch <dot@dotat.at> http://dotat.at/
Shannon, Rockall: Variable 3 or 4, becoming southerly 5 to 7, occasionally
gale 8 later in west. Moderate or rough, occasionally very rough later in
west. Occasional rain. Moderate or good.