> I'd say there are at least two compelling reasons to include > noun in array:
Do you mean "to include atom (aka scalar) in array"? ----- Original Message ----- From: Oleg Kobchenko <[EMAIL PROTECTED]> Date: Saturday, October 6, 2007 12:41 Subject: Re: [Jgeneral] Empty dimensions confuse me To: General forum <[email protected]> > I'd say there are at least two compelling reasons to include > noun in array: > > - reflects underlying structure: in other languages (Lisp, C, Java) scalars > are > primitives and arrays are composites; in J they are the same; > > - manifests notion of empty (shape, like empty array) to naturally > generalize array, which is distinctive of APL/J. > > Also it seems the significance of rank>0 arrays is exagerated. > It's follows from atom having empty shape that it has one item 1=*/''. > (It's the beauty of said generalization.) > Where else such distinction is necessary? ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
