> [email protected]] On Behalf Of Henry Rich
> Sent: vrijdag 4 december 2015 11:11
> To: [email protected]
> Subject: Re: [Jprogramming] My first J conjuction
> 
> Kip's version doesn't refer to x or y directly.  This is an important
> improvement.  

Why?


R.E. Boss


> The body of Kip's conjunction is executed BEFORE the x and
> y arguments are seen:
> 
>     of =: 2 : 'v@[ u v@]'
>     + of *:
> *:@[ + *:@]
> 
> This is not true of the original form:
> 
>        fxgfy=: 2 : 0
> :
> (v x) u v y
> )
>     + fxgfy *:
> + (2 : (':'; '(v x)u v y')) *:
> 
> Henry Rich
> 
> On 12/4/2015 1:19 AM, Kip Murray wrote:
> > And you can use a fork in the definition of a conjunction:
> >
> >      of =: 2 : 'v@[ u v@]'
> >      4 + of *: 5
> >   41
> >
> > On Thursday, December 3, 2015, Kip Murray <[email protected]>
> wrote:
> >
> >> A fork is not a conjunction but it shows what you are doing:
> >>
> >>
> >>      4 (*:@[ + *:@]) 5
> >>   41

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

Reply via email to