That's a clever idea.  It lets you have the effect of a
conjunction with more than 2 arguments.  I bet that'll
turn out to be useful in a lot of places.

Henry Rich 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Raul Miller
> Sent: Friday, June 08, 2007 12:31 AM
> To: Programming forum
> Subject: Re: [Jprogramming] tactic programming
> 
> On 6/7/07, Henry Rich <[EMAIL PROTECTED]> wrote:
> >   after =: 2 : '(0{v`'''')`:[EMAIL PROTECTED] u (_1{v`'''')`:[EMAIL 
> > PROTECTED]'
> >   + after (-`-:)
> > +-------+-+--------+
> > |+-+-+-+|+|+--+-+-+|
> > ||-|@|[|| ||-:|@|]||
> > |+-+-+-+| |+--+-+-+|
> > +-------+-+--------+
> > [EMAIL PROTECTED] + -:@]
> 
> Or,
> aft=:2 :'1 :(''[EMAIL PROTECTED] ('',(5!:5<''u''),'') 
> ('',(5!:5<''v''),'')@]'')'
> 
>    + *aft -
> [EMAIL PROTECTED] * [EMAIL PROTECTED]
> 
> Though, beware that 5!:5 won't work with f. of explicit 
> verbs, in J6.01.
> To work around that problem (if it matters), you would need to use
> something like
> 
> af=:2 :0
>   U=.5!:1<'u'
>   V=.5!:1<'v'
>   1 :('[EMAIL PROTECTED] (',(5!:5<'U'),')`:6 (',(5!:5<'V'),')`:[EMAIL 
> PROTECTED]')
> )
> 
> (same usage pattern)
> 
> -- 
> Rau
> l
> ----------------------------------------------------------------------
> For information about J forums see 
> http://www.jsoftware.com/forums.htm

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

Reply via email to