On Fri, Jul 31, 2009 at 4:42 AM, Bo Jacoby<[email protected]> wrote:
> Simplifying expressions is the crux of computing. J simplifies nouns,
>   2+2
> 4
> and
>   1 2 3 + 4 5 6
> 5 7 9
> but not verbs
>   2&p. + 2&p.
> 2&p. + 2&p.
> and
>   1 2 3&p.+4 5 6&p.
> 1 2 3&p. + 4 5 6&p.
> I wonder why not.

Because the general case of simplifying verbs involves
an infinite number of infinities, and because J itself is
finite.

> I also wonder if there is any difference between (2"0) and (2&p.) .

   8 8 ] .(2"0) 9 9
2 2
   8 8 ] .(2&p.) 9 9
2 2
2 2

-- 
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to