For the ordering used in sorting, what you want is the symbol denoted by ≺
"curly less than" U+227A or ≼ "curly less than equal" U+227C in
conventional mathematical notation, with infinite dyadic ranks.  It's not
enough to make < or <: work on characters because those functions have 0
dyadic rank.

≼ ←→  0 1 -: /:@,&<

   f=: 0 1 -: /:@,&<
   'foo' f 'upon'
1
   'syzygy' f 'chthonic'
0
   'pi' f 3.14159
0



On Fri, Mar 1, 2019 at 5:10 PM Jimmy Gauvin <jimmy.gau...@gmail.com> wrote:

> Hi,
>
> 'c' < 'b' doesn't work in APL either but 'c'='d' works in J and in APL.
>
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to