A good start. You give two sentences, one of which I disagree with and
the other I can't understand at all. I would say:
1. A Dictionary is an array some of whose axes are indexed by
non-numeric value; that is, the index is not an integer.
2. The Dictionary supports the following operations:
a. ((<<x) { Dic) where the first axis is non-numeric and x is any value
in the Dic
b. Dic , newitem
c. $ Dic
d. # Dic
e. ~. Dic (?)
... there will be more
Please amplify.
Henry Rich
On 1/31/2022 11:47 PM, Elijah Stone wrote:
On Mon, 31 Jan 2022, Henry Rich wrote:
Many ideas have been aired. But please, every now and again address
the questions I need answers for:
I gave one answer to this earlier:
1. What is a Dictionary, EXACTLY?
An array some of whose axes are indexed by a set of symbols rather than
a range of integers.
2. What operations can be performed on a Dictionary?
At least: domain (new primitive) index transpose amend apply-at-rank
filter indices. From rank follows any rank-0 operation. Maybe: key
catenate shape reshape nub index-of tally reduce.
-E
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
--
This email has been checked for viruses by AVG.
https://www.avg.com
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm