On 2/27/07, Jose Mario Quintana <[EMAIL PROTECTED]> wrote:
However, it is not so clear to me how to proceed when u. appears multiple
times in the definition body.

I'd probably work with gerunds:

train=: `:6
substU=: [^:('u.' -: ]) L:_1 0

  (myfn`'' substU ([EMAIL PROTECTED] , {:@u.)`'')train
[EMAIL PROTECTED] , {:@myfn
  (+/`'' substU ([EMAIL PROTECTED] , {:@u.)`'')train
{.@(+/) , {:@(+/)

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

Reply via email to