I estimate that the probability of this feature being changed is 0.
----- Original Message ----- From: "p j" <[EMAIL PROTECTED]> To: "Programming forum" <[email protected]> Sent: Tuesday, March 28, 2006 6:07 PM Subject: Re: [Jprogramming] weird = failure Any hope that feature would be changed?-- I'm guessing shapes have something to do with this phenomenon. Perhaps more consistency in how built in operations return in terms of shapes in boxes?-- and that these be more compatible with the character type? Here's another. I do get to a solution at the end, but it seems messier than it should be ('(';,')') ([ =/ ]) ;: '( =. ()=.)' 0 0 0 0 0 0 0 0 0 1 0 1 The first line should have matches too. Combinations of , and no leading , didn't seem to work. >$ each (<,')') 1 >$ each (<')') (no output-- no shape?) ((<,'('),(<,')')) =/ ;: '( =. ()=.)' 1 0 1 0 0 0 0 0 0 1 0 1 The hope is that this utility verb would be able to work accross boxed and unboxed contexts (more easily). tokensIn=: <"1@:I.@:([ =/ ]) --- Roger Hui <[EMAIL PROTECTED]> wrote: > (<')') = <,')' > 0 > (<,')') = ;: '=. ( ()=. )' > 0 0 0 1 0 1 > > > > ----- Original Message ----- > From: "p j" <[EMAIL PROTECTED]> > To: "Programming forum" <[email protected]> > Sent: Tuesday, March 28, 2006 5:18 PM > Subject: [Jprogramming] weird = failure > > (<')') = ;: '=. ( ()=. )' > 0 0 0 0 0 0 > > >#each ;: '=. ( ()=. )' > 2 1 1 1 2 1 > > I would expect 2 matches (1s) from the first line. > > (<')') = (<')') > 1 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
