This is why some of us are in the habit of writing x;<y On Tue, Jul 28, 2009 at 4:07 PM, Kip Murray <[email protected]> wrote:
> E =: 0$<1 > 3!:0 E NB. E is boxed: > 32 > 1;E > +-++ > |1|| > +-++ > (<1),E > +-+ > |1| > +-+ > > > The Dictionary: > > x;y is (<x),y if y is boxed, and (<x),<y if y is open. > > > My interest: > > Properties of E as the empty set, where "set" is modeled as a sorted list > of > boxes, without repetitions, and "element" is the array contained in a box. > > IsSet =: [: *./ (-: /:~),(-: ~.),(1 = #...@$),(32 = 3!:0) > > IsSet E > 1 > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > -- Devon McCormick, CFA ^me^ at acm. org is my preferred e-mail ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
