My preference for i.~ = i:~ over (i.=i:)~ is not because of "paranoid of parentheses": i.~ = i:~ is shorter, and i.~ and i:~ are more recognizable as phrases.
----- Original Message ----- From: Randy MacDonald <[EMAIL PROTECTED]> Date: Friday, June 15, 2007 7:28 pm Subject: Re: [Jprogramming] Finding unique strings in a box > If you aren't paranoid of parentheses: > > uniqRAM =: (i.=i:)~ > > also seems to work. > > > Roger Hui wrote: > > Also: > > uniq=: i.~ = i:~ > > > > x=: 3 1 4 1 5 9 2 6 5 3 5 8 9 7 9 > > unique x > > 0 0 1 0 0 0 1 1 0 0 0 1 0 1 0 > > uniq x > > 0 0 1 0 0 0 1 1 0 0 0 1 0 1 0 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
