On Sun, Aug 31, 2008 at 9:29 PM, Saunders, John (HEALTH) <[EMAIL PROTECTED]> wrote: > I can see I've got a way to go in understanding the finer points of verb > composition esp when looking at Raul's proposed solution > annmatch=: (i.>./)@((+/)@e.&>"0 1) > > Raul in answer to your question no actually the output didn't need to be > boxed and the above definition works superbly ; though I'll need to > further understand this type of verb before I use it ; I'm guessing this > is what you call a tacit verb ? seems quicker than using 3 : 0 and 4 : 0 > as well.
That is indeed an example of what I would call a tacit verb. To understand it, you would need to understand hooks (i. >./), as well as the symbols it uses -- especially its conjunctions (@, & and "). I would also recommend looking at intermediate results. For example, using (<@e.&>"0 1) and <@((+/)@e.&>"0 1) on some sample data (something small, ideally, so you do not have to wade through overwhelmingly large results). -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
