[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Recursive anonymous functions?
- From: Bennett Todd <bet@...>
- Date: Thu, 22 Jul 2004 19:27:35 +0000
I don't know Lua well enough to answer for Lua, but in at least
one other language (that I do know well:-) I can answer it by
creating a lexical closure; let the anonymous function capture a
lexical variable that holds a copy of the reference to the anonymous
function.
-Bennett
Attachment:
pgpUVCkqYNeBL.pgp
Description: PGP signature