lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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.