I Prefer using the definition
select=: 1 : 'u # ]'

instead of your hook below.
I find it much easier crafting compound conditions (for example >4 and <8)

   4&< select some_numbers
5 7 9
   (8&> *. 4&<) select some_numbers
5 7

seeing a select statement in a sentence also helps me realize what its doing in 
a way that # wouldn't because it is more vague, and its position in a train is 
less recognizable.  Also, 4 verb trains make this way to filter a bit daunting 
on beginers, I think the adverb version is just much easier.


----- Original Message ----
From: Dan Bron <[EMAIL PROTECTED]>


       (#~ 4 < ]) some_numbers
    7 9 5






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

Reply via email to