The vocabulary says:

x;y is (<x),y if y is boxed, 
and(<x),<y if y is open. 

Apparently (2;3 4) is considered boxed, so the < must be explicite.
   (1;1 2);<2;3 4

┌───────┬───────┐
│┌─┬───┐│┌─┬───┐│
││1│1 2│││2│3 4││
│└─┴───┘│└─┴───┘│
└───────┴───────┘

   (<(<1),<1 2),<(<2),<3 4

┌───────┬───────┐
│┌─┬───┐│┌─┬───┐│
││1│1 2│││2│3 4││
│└─┴───┘│└─┴───┘│
└───────┴───────┘
 
      




>________________________________
> Fra: Steven Taylor <tayl...@gmail.com>
>Til: Programming forum <programming@jsoftware.com> 
>Sendt: 7:48 torsdag den 24. maj 2012
>Emne: [Jprogramming] boxed + indexing
> 
>it's always puzzled me why it is necessary to box the last item in order to
>make the structure at index 1 the same as that at 0
>
>((1;(1 2)));<(2;(3 4))
>
>Is this by design?
>
>thanks,
>-Steven
>----------------------------------------------------------------------
>For information about J forums see http://www.jsoftware.com/forums.htm
>
>
> 
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to