I suggest renaming SortUp to SortUpUsingKeys.

Henry Rich



bill lam wrote:
> On Tue, 03 Mar 2009, Sherlock Ric wrote:
>> ---Alex Rufon wrote:
>>> SortUp and GradeUp are both defined as /: in the primitives.  In
>>> parallel, SortDown and GradeDown also suffers the same issue.
>> SortUp refers to dyadic use of /:, GradeUp refers to monadic use of /:
>>
>> /:~ myarray
>> Is the special case of SortUp where you are sorting it by the grade of 
>> itself, i.e.
>> myarray /: myarray
>> However often you will want to use
>> myarray /: my2ndarray
>>
>> You cannot do this if you redefine SortUp as /:~
> 
> I think Alex's argument is reasonable. Dyadic sort is alien to most
> programmers.  If primitives are meant for beginners,  rename SortUp as
> DyadSortUp and define SortUp as /:~ will cause less surprise for those
> not yet initiated.
> 
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to