the difficlty I was having was that @.1 0 1 or ^:1 0 1 are errors or weird, even when I try to turn the noun into a verb that should produce identical result to [.
+:^:(1 0 1"_ 1) 2 1 3 4 2 6 2 1 3 4 2 6 Its hard to understand the magic of ^:[ , but a side effect is that a dyadic u (that doen't use boolean filter list as x) cannot be applied. ----- Original Message ----- From: Don Guinn <[email protected]> To: Programming forum <[email protected]> Cc: Sent: Friday, March 28, 2014 7:38:09 AM Subject: Re: [Jprogramming] apply verb to filtered list If the intent is to do the verb only on numerics you can avoid having to build f by (+: :: ])&.>list +-+-+-+ |4|a|6| +-+-+-+ On Fri, Mar 28, 2014 at 2:49 AM, Brian Schott <[email protected]>wrote: > No, I see my variation does not compute when 0 corresponds with 'a'. > > > > > -- > (B=) > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
