Its an excellent solution.  After all, tracking nouns
is the primary benefit.  I'd nominate the following
verb for inclusion in stdlib, or maybe just in
introduction books

up=: 3 :'UP=:y'

--- "Miller, Raul D" <[EMAIL PROTECTED]> wrote:

> Pascal Jasmin wrote:
> > Caching only a single result would provide 99%+
> > of the usefulness, and minimize the length of
> > time data need held in memory cached
> 
> You could approximate this by defining:
> 
>    a=:3 :'A=:y'
> 
> then
>    a i. 3
> 0 1 2
>    a +/~A
> 0 1 2
> 1 2 3
> 2 3 4
>    a +/,A
> 18
> 
> If you wanted to archive further results
> you could extend a.  For example
> 
> A=:B=:C=:D=:E=:i.0 0
> a=:3 :'A=:y[B=:A[C=:B[D=:C[E=:D'
> 
> (Or, you could maintain a boxed list of
> results.  Or, you could use 3!:1 and write
> the results to file.  Or, ...)
> 
> -- 
> Raul
> 
>
----------------------------------------------------------------------
> For information about J forums see
> http://www.jsoftware.com/forums.htm
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to