This problem is not in trace.  It is just in jijx.

        f=: [: */"1 [: > [: { [: ([: < ^ [: i. >:)"0/ __ q: ]
   f 3894
|domain error: f
|       f 3894
   
   factorslla
[: */"1 [: > [: { [: ([: < (^ ([: i. >:)))"0/ __ q: ]
 
   factorslla 3894
 1   59
11  649

 3  177
33 1947


 2  118
22 1298

 6  354
66 3894

I expect  f  to work exactly like  factorslls  and it doesn't.

Linda

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Raul Miller
Sent: Wednesday, February 20, 2013 7:44 AM
To: [email protected]
Subject: Re: [Jprogramming] Recursive programming (and scoping therein)

On Wed, Feb 20, 2013 at 5:14 AM, Linda Alvord <[email protected]>
wrote:
> When can you remove the inner parentheses from the right safely?

You can remove a parenthesis when trace will evaluate the part within the
parenthesis the same way regardless of whether or not the parenthesis are
present.

--
Raul
----------------------------------------------------------------------
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