monk: ... what would Tony Shaloub say?
On 5/23/07, R.A. MacDonald <[EMAIL PROTECTED]> wrote:
Hello Terrence;
Given that this ordering is as old as APL, thus as old as I am, and I do
not recall having seen an explanation, I would also be interested in one.
A thought: the #: (Antibase) verb follows the same pattern, as did APL's
decode (or was it encode? dualities always throw me) with a default left
argument of 2 in the monadic case. It sctually returns the same result
when the left argument is a scalar:
3 #: 10
1
3 | 10 NB. Veery intestingk.
1
Nitpicky questions are the new poster's job. If you want negative
reactions to a novice, ask a Perl "monk" a question.
Terrence Brannon wrote:
> It seems that the Residue function should follow the same argument order
as %
>
> It does not seem consistent or intuitive for the arguments to be
reversed.
>
> What motivated this decision? I spent 5 minutes about to tear my hair
out trying
> to figure out the results I was getting from Residue.
>
> 7 % 2
> 3.5
> 2 | 7 NB. would be 7 | 2 if I were designing J :)
> 1
>
>
> I'm sorry to ask what seem like such nitpicky little questions, but I
got a
> great answer regarding Passive, so perhaps I am just ignorant of some
loftier
> motivation for such argument calling conventions.
>
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
>
--
later ...
<pre>------------------------------------------------------------------------
|\/| Randy A MacDonald | APL: If you can say it, it's done.. (ram)
|/\| [EMAIL PROTECTED] |
|\ | | The only real problem with APL is that
BSc(Math) UNBF'83 | it is "still ahead of its time."
Sapere Aude | - Morten Kromberg
Natural Born APL'er | Looking for a whip-smart APL developer <a
href="mailto:[EMAIL PROTECTED]">Send me a note</a>
-----------------------------------------------------(INTP)----{ gnat
}-</pre>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
--
--
Roy A. Crabtree
UNC '76 gaa.lifer#
(For TN contact, email me to set up a confirmed date/time)
[When you hear/read/see/feel what a yehudi plays/writes/sculpts/holds]
[(n)either violinist {Menuhin} (n)or writer {"The Yehudi Principle"} (n)or
molder (n)or older]
[you must strive/think/look/sense all of it, or you will miss the meanings
of it all]
[EMAIL PROTECTED] Forwards only to:
[EMAIL PROTECTED] CC: auto to:
[EMAIL PROTECTED] Be short < 160 chars cuts off; currently
offline
[EMAIL PROTECTED] CC: auto to ^
http://www.authorsden.com/royacrabtree
http://skyscraper.fortunecity.com/activex/720/resume/full.doc
--
(c) RAC/IP, ARE,PRO,PAST
(Copyright) Roy Andrew Crabtree/In Perpetuity
All Rights/Reserved Explicitly
Public Reuse Only
Profits Always Safe Traded
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm