lua-users home
lua-l archive

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


On Thu, Sep 8, 2011 at 6:33 PM, Gé Weijers <ge@weijers.org> wrote:
> Clu (Liskov et. al., 1974) had both multiple return values and
> iterators/generators.

Very interesting language! Accordiing to wikipedia, it was very influential:

http://en.wikipedia.org/wiki/CLU_%28programming_language%29

Not only iterators and multiple returns, but exception handling and
automatic memory management. (Although of course the last claim is
always trumped by Lisp)

This page in fact makes the assertion:

"Lua took multiple assignment and multiple returns from function calls
from CLU."

But this is a [citation needed] ;)  Perhaps Luiz can throw some light
on this claim?

It's interesting how long (in computer years) it takes for new
concepts to find their way into the mainstream

steve d.