Should be }. instead of {. .


----- Original Message -----
From: Henry Rich <[EMAIL PROTECTED]>
Date: Saturday, October 13, 2007 8:26
Subject: RE: [Jgeneral] paradoxes - (2) Behead (1) arrays
To: 'General forum' <[email protected]>

> The key concept is that of 'item'.  An array (no, wait, a
> non-atomic array) is a list of its items.  Many of J's
> primitives treat the items as unbreakable.
> 
> {. removes the first item.  That leaves 0 items.  The
> shape of an item remains unchanged, but there are still
> 0 of them.
> 
> So 1 - 1 is indeed zero.  In fact, the way J does it is
> the only way to make that true.  If the shape of
> {. 1 1 $ 67
> were not 0 1, you would be taking one item from one item
> and being left with something other than 0 items.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to