Can you clarify what you disagree with and what you don't understand?
1. A Dictionary is an array some of whose axes are indexed by
non-numeric value; that is, the index is not an integer.
1. I assume fractional and complex numbers are allowed too?
2. Is the array still rectangular? [proposed answer: yes]
a. ((<<x) { Dic)
Presumably x need not be double-boxed when it is atomic?
b. Dic , newitem
1. Should be newitem , Dic.
2. What is the format of newitem? Presumably it specifies both a key and
a value; hence, is it really Dic1 , Dic2? [proposed answer: yes]
3. If so, what do you do about duplicate keys? [proposed answer: take them
from the left argument]
c. $ Dic
What is the shape of a dictionary? [proposed answer: it is undefined]
e. ~. Dic (?)
I think not; keys should not be ordered.
-E
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm