You're right...

Now, how would you describe the order? Would 'index order" be enough? The Dictionary says "normal order" and then goes on to define it. I have looked for years for the right words. It has to be short and intuitive - not a mathematical definition.

How about "in the order in which they appear in y"?

Henry Rich

On 3/10/2016 6:30 PM, Nicholas Spies wrote:
This is perhaps a quibble, but...

Looking at the NuVoc definition of , y Ravel

The following statement and the example directly below it...
--------
Produces a list <http://code.jsoftware.com/wiki/Vocabulary/AET#List>
containing all the atoms
<http://code.jsoftware.com/wiki/Vocabulary/AET#Atom> in y, in order.

An atom <http://code.jsoftware.com/wiki/Vocabulary/AET#Atom> is converted
to a 1-atom list <http://code.jsoftware.com/wiki/Vocabulary/AET#List>, a
list <http://code.jsoftware.com/wiki/Vocabulary/AET#List> is left
unchanged, and any noun <http://code.jsoftware.com/wiki/Vocabulary/AET#Noun>
of higher rank <http://code.jsoftware.com/wiki/Vocabulary/AET#Rank> is
flattened into a list <http://code.jsoftware.com/wiki/Vocabulary/AET#List>

    ]z=: 0 10 20 +/ i.   NB. sample noun
  0  1  2  3  4
10 11 12 13 14
20 21 22 23 24

    ,z
0 1 2 3 4 10 11 12 13 14 20 21 22 23 24
-------------------

...and also...

    ,'ace',.'bdf'

abcdef


...give the first impression that Ravel puts the items into lexical order,

which is misleading, as shown by the example 2 under Common Uses:


]a =: 4 4 ?@$ 100

89 91 1 24

88 43 43 32

85 84 27 31

10 11 49 90

+/ 50 < , a

6

,a

89 91 1 24 88 43 43 32 85 84 27 31 10 11 49 90


Since NuVoc is targeting new users, the 'in order' statement should. IMHO,
specify explicitly the order as being <whatever description is appropriate>.


Nick







On Thu, Mar 10, 2016 at 5:48 PM, Roger Hui <[email protected]>
wrote:

    ,'ace',.'bdf'
abcdef
    'ace',@,.'bdf'
abcdef


On Thu, Mar 10, 2016 at 2:47 PM, Roger Hui <[email protected]>
wrote:

    ,|:'ace',:'bdf'
abcdef
    'ace'([: , |:@,:)'bdf'
abcdef


On Thu, Mar 10, 2016 at 2:42 PM, Kip Murray <[email protected]>
wrote:

A quickie -- how do you interweave two equal-length lists, so that

    'ace' itw 'bdf'
abcdef

--Kip Murray



--
Sent from Gmail Mobile
----------------------------------------------------------------------
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

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to