[Jprogramming] Re: Function-level programming

Raul Miller rauldmiller at gmail.com
Wed Feb 28 07:49:21 HKT 2007


On 2/27/07, Jose Mario Quintana <JoseMarioQuintana at 2bestsystems.com> 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 ({. at u. , {:@u.)`'')train
{. at myfn , {:@myfn
   (+/`'' substU ({. at u. , {:@u.)`'')train
{.@(+/) , {:@(+/)

-- 
Raul


More information about the Programming mailing list