On Sun, Apr 26, 2009 at 3:23 AM, Alan K. Stebbens <[email protected]> wrote:
> Is there a "better" way to do this?

http://www.jsoftware.com/jwiki/Guides/Lexical%20Closure

> Is there a way to define the function result of "foo" as a tacit
> function?

Closure requires references (names, in J), and tacit programming is
[roughly speaking] programming without references. This means
that an essential part of any tacit closure implementation will
necessarily be a wrapper around some of the critical elements
(which must handle references, somehow).

-- 
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to