Interesting - I'd never used "_ in that way. Works for any type:
e.g., am=: 13 : 'x 13.3j_5"_`[`]}y'
I really should get out more, vocabulary-wise.

                                         Patrick

On Sun, 6 Jul 2014, Marc Simpson wrote: (& Raul)
Try

 13"_

(see http://www.jsoftware.com/jwiki/Vocabulary/quotem)

On Sun, Jul 6, 2014 at 3:51 PM, J. Patrick Harrington <[email protected]> 
wrote:

Too bad that only works for the few constant functions:
   _9: _8: ...  0: 1: ... 9:

so am=: 13 : 'x 8:`[`]}y'
   3 am i. 11
0 1 2 8 4 5 6 7 8 9 10

but you can't use a general value:

   am=: 13 : 'x 13`[`]}y'
   3 am i. 11
|domain error: am
|   x     13`[`]}y


On Sun, 6 Jul 2014, Aai wrote:



But "13 :" refuses to give me an equivalent tacit verb ...

    13 : '0 x}y'
4 : '0 x}y'

Is this just a shortcoming of "13 :" ? Does anyone know a "nice" tacit
equivalent? I don't.


But you can use this:

13 : 'x 0:`[`]}y'



----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
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