On May 23, 2007, at 11:05 AM, 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
The syntax has the fixed value on the right and the modifier on the
left. This is the case for all dyads.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm