I have the following definition (simplified model):

a=: 1 : 0
:
  if. 1 < # y do.
    x $: (}. y)
  else.
    x u y
  end.
)

And I got stack error here:
   7 + a 1 2 3
|stack error
|   x    $:(}.y)

I know about working variant:

a2=: 1 : 0
:
  x (u`($: }.) @. (1 < ([EMAIL PROTECTED]))) y
)

but it's not desirable (more precisely, I've failed to convert it to tacit 
form). I'd like $: in adverb a to be the verb (+ a) or whatever called. Is it 
possible? 

-- 
Best regards
Igor
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to