A design question:

When designing new verbs in the vocabulary, what guides the argument design?


Insights there would be helpful as I keep wondering on the x y order with
each verb I use.

~Yuva

On 5/25/07, Roger Hui <[EMAIL PROTECTED]> wrote:

x!y in J has the same argument order as every
APL that I know of.   The description in "The
Design of APL" has a typo -- it should have said
n!m .



----- Original Message -----
From: "Mark D. Niemiec" <[EMAIL PROTECTED]>
Date: Thursday, May 24, 2007 6:22 pm
Subject: Re: [Jgeneral] Why does the Residue function take its arguments
in

> "John Randall" <[EMAIL PROTECTED]> wrote:
>
> > Roger Hui wrote:
> > >> I've often thought * before +, which is now
> > >> taught as 'standard', comes mostly from the
> > >> first Fortran which did use that order.
> > >
> > > On this topic, Falkoff and Iverson had this to
> > > say on page 326 of "The Design of APL".
> > > http://www.research.ibm.com/journal/rd/174/ibmrd1704F.pdf
>
> One thing about J that I was always curious about was that
> when I first encounteed APL around 1970, in X!Y, X was typically
> the larger argument, but in J, the parameter order has been
> reversed.
>
> At first I questioned my memory, but the above article does
> mention that ordering. I am curious why the order was changed?
----------------------------------------------------------------------
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