> I can not think of an expression off the top of my head which
> would use four arguments, hopefully their use is obvious?

The dyad of a conjunction.  e.g.

x +"r y

The four arguments are: x; +; r; y

p.s. I am not saying that I agree with Neville Holmes' suggestion.



----- Original Message -----
From: Raul Miller <[email protected]>
Date: Saturday, July 25, 2009 8:33
Subject: Re: [Jprogramming] Third argument
To: Programming forum <[email protected]>

> On Sat, Jul 25, 2009 at 6:38 AM, neville 
> holmes<[email protected]> wrote:
> > Having a third, and even a fourth, argument need not
> > be difficult and would certainly be useful, especially
> > (in my direct experience) in teaching beginners tacit
> > programming.
> >
> > At the risk of boring long-term readers of this forum,
> > my repeated suggestion has been for the use of [. and
> > ]. to bring in operands just as [ and ] bring in
> > arguments. Then with &[. [.& &]. or ].& you would
> > effectively have third and fourth arguments.  There
> > would be many other simplifications then made available
> > as well.
> 
> Perhaps:
>    0&{::
>    1&{::
>    2&{::
>    3&{::
> 
> This gives you four arguments.  And, for some domains,
> you can use n&{ instead of n&{::
> 
> I can not think of an expression off the top of my head which
> would use four arguments, hopefully their use is obvious?
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to