[Jprogramming] boxed + indexing
Raul Miller
rauldmiller at gmail.com
Thu May 24 21:58:57 HKT 2012
Another approach might have been:
Box x and box y if it is nested no deeper than x.
--
Raul
On Thu, May 24, 2012 at 8:02 AM, Henry Rich <HenryHRich at nc.rr.com> wrote:
> Yes, by design. It's so
>
> 1;2;3;4
>
> produces what you want. There you don't need to box the last element
> explicitly. Alternatives are (, <) and ,&< . ; is midway between those.
>
> Henry Rich
>
> On 5/24/2012 1:48 AM, Steven Taylor wrote:
>> 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
More information about the Programming
mailing list