What sort of sort I sort?

Linda

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Raul Miller
Sent: Monday, February 16, 2015 6:06 PM
To: Programming forum
Subject: Re: [Jprogramming] sort of atom

That looks like a bug, triggered by type.

   $sort 1

   $sort 2
1
   $sort 2-1
1

Traditionally, computer science enshrines type induced bugs as being
language features, but I think that is mostly a reflection of laziness and a
lack of any sort of idea about why things should be any different.

Thanks,

--
Raul

On Mon, Feb 16, 2015 at 5:58 PM, Brian Schott <[email protected]>
wrote:
> Why do these 2 sorts produce different rank results?
> Btw, Henry's dissect helped me detect this issue.
>
>    $sort 2
> 1
>    $sort 1
>
>    sort
> /:~
>
>    JVERSION
> Engine: j803/2014-10-19-11:11:11
> Library: 8.03.09
> Qt IDE: 1.2.5/5.3.2
> Platform: Darwin 64
> Installer: J803 install
> InstallPath: /users/brian/j64-803
>
>
> --
> (B=)
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
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