Thanks Raul, I suspect that's what I need (the adverb approach) one of the args must definitely be a boolean verb. I think that's also the direction Viktor took (cheers Viktor!)
Need a bit of time to pore over it now, but I think I got it. On Tue, 2010-08-24 at 08:40 -0400, Raul Miller wrote: > On Tue, Aug 24, 2010 at 8:19 AM, Alex Gian <[email protected]> wrote: > > The way you did it with the fork was instructive to me, R.E., really > > nice to see all the different approaches! > > > > It's still not a "filter" verb on its own, though, as specified (left > > arg - boolean verb, right arg - list to filter) > > If you want the left arg to be a boolean verb, you have two > possibilities: > > 1) use an adverb > 2) require that the left arg be the gerund of the boolean verb. > > For an english example: if the boolean verb were "choose" > the gerund would be "choosing" and we could form sentences > where we talk of choosing, or we could have words which modify > "choose". J's grammar follow similar constraints. > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
