Don Guinn wrote: > Also, the x and y in explicit definitions are local names so are unique > from x and y of a calling explicit definition. That includes recursion.
Yes, I am aware of that, but what if I have a nested function, that is local to another, enclosing function? Is that even possible in J? I couldn't write one there were problems with the terminating 'close bracket' ) But assuming I could write it: What if I want to refer to the "parent's" x-value in the definition of an enclosed function/verb? Like a free variable in Lispy languages. Do I have to copy and rename it first, inside the enclosing scope? Sounds a bit clunky. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
