On Thu, Nov 27, 2008 at 2:47 PM, Tracy Harms <[EMAIL PROTECTED]> wrote:
> Would it be adequate to say this?  In J there is no language-supported
> distinction between objects and lexical closures; both are alike in
> combining functions and data such that results depend not only on the
> parameters provided, but also the ("internal") state of the thing that
> is called on.

Well... in J, objects, classes, inner classes, lexical closures and
a variety of other mechanisms are all implemented using locales.

This concept of "using" is somewhat analogous to how polynomials
and inner products and a variety of other mechanisms are all
implemented using addition and multiplication.

But, yes, both objects and lexical closures have internal state that
gets modified during the normal course of execution.

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

Reply via email to