Apply (128!:2) gives domain error for Atomic (5!:1) representation of
explicit verb. Insert (/) accepts the gerund, so it is a valid gerund.
Shouldn't Apply handle it as well?

   a=:*

   b=:3 : 0
*y
:
x*y
)

   ('+';'a')/1 2
3
   ('+';(5!:1<'a'))/1 2
3
   ('+';'b')/1 2
3
   ('+';(5!:1<'b'))/1 2
3

   ('+';'a')(128!:2)&>1 2
1 1
   ('+';(5!:1<'a'))(128!:2)&>1 2
1 1
   ('+';'b')(128!:2)&>1 2
1 1
   ('+';(5!:1<'b'))(128!:2)&>1 2
|domain error
|   ('+';(5!:1<'b'))    (128!:2)&>1 2
|[-16]
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to