On Fri, May 15, 2009 at 3:31 PM, gary ng <[email protected]> wrote: > Lost you here. What do you want to say ? I am not proposing a solution at > all.
I thought you were proposing recursive invocation of function calls. > What you are saying sounds more like 'you would never need this form of > coding in J as you can always find other ways'. If that is the case, what is > the purpose of '$:' ? Not never, but not particularly commonly, either. That said, $: has some uses in non-recursive contexts. For example: F=: 0&$: : G (Where G is some dyad). That said, anything which can be implemented using recursion can also be implemented using iteration, a state machine, and a stack. -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
