can do this, I guess:

ia =:[: 0&{::`(1&{::)} ,&<

 0 1 ia 1 1 ,: 3 4 
1 4 




----- Original Message -----
From: 'Pascal Jasmin' via Programming <[email protected]>
To: Programming Forum <[email protected]>
Cc: 
Sent: Wednesday, July 22, 2015 11:25 AM
Subject: [Jprogramming] item amend verb/gerund form

There appears to be a missing gerund form for monadic }.  Basically to make a 
tacit version of this:

4 : 'x}y'

0 1 (4 : 'x}y') 1 1 ,: 3 4 
1 4 


I'd suggest this:

  0 1 ([:`[`])} 1 1 ,: 3 4 
|domain error 


but is there already a trick for a tacit version?
----------------------------------------------------------------------
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