(This may be overkill... but I got curious... just an observation). d1 and d2 are the same, d3 requires a double box. I thought I'd get the d3 result in d2.
I'm okay with this... but this result still doesn't make sense. Note that the box in d2 *<(1 2 3) *gets dropped*. *But, the last item stays the same. [d1=.(<(1;(1 2))),(<(2;<(3 4))),(<(2;<(3 4;<(4 5)))),(<(2;<(3 4;4 5;(1 2 3)))) [d2=.(<(1;(1 2))),(<(2;<(3 4))),(<(2;<(3 4;<(4 5)))),(<(2;<(3 4;4 5;<(1 2 3)))) [d3=.(<(1;(1 2))),(<(2;<(3 4))),(<(2;<(3 4;<(4 5)))),(<(2;<(3 4;4 5;<<(1 2 3)))) d1=d2 NB. yes d1=d3 NB. no d2=d3 NB. no On 25 May 2012 05:18, bill lam <bbill....@gmail.com> wrote: > if ; were symmetric, then the result of > > 1;2;3;4;5 > > will be quite unexpected. try display > > 1;<2;<3;<4;<5 > > Птн, 25 Май 2012, Steven Taylor писал(а): > > Strange. Even though I know the rule, I keep expecting ; to to be > symetric > > for nesting. One of those things I guess. > > > > thanks for the (,< suggestion. > > -Steven > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > -- > regards, > ==================================================== > GPG key 1024D/4434BAB3 2008-08-24 > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm