On Wed, Dec 2, 2009 at 6:41 AM, Roger Hui <[email protected]> wrote:
> Use the dyad # ; for example:
>
>   ((0=2&|) # ]) i.11
> 0 2 4 6 8 10

Also, a frequently used idiom in J is

   (#~ predicate) collection

For example:

   (#~  0=2&|) i. 11
0 2 4 6 8 10

J does not really need hooks, for its expressiveness,
but this one is nice and I see it and use it often
enough that I think it is worth mentioning here.

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

Reply via email to