lua-users home
lua-l archive

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

Jay Carlson <> wrote:
> Smalltalk-80 blocks resembled closures but were not first class
> values; they were stack-allocated. (I remember bumping my shins on
> this before implementations fixed it.) Ruby syntax wants you to use
> blocks a particular way. So I guess both of those languages threw
> stumbling blocks in front of a functional style.

Blocks are associated with Tennent's Correspondence Principle which can
lead to fun with continuations -

f.anthony.n.finch  <>
Fair Isle, Faeroes: Southwesterly veering westerly or northwesterly 5 to 7,
becoming variable 4 later in south. Rough or very rough. Occasional rain then
showers. Moderate occasionally poor, becoming mainly good.