that works, thanks.

----- Original Message -----
From: Henry Rich <[email protected]>
To: [email protected]
Cc: 
Sent: Wednesday, July 22, 2015 5:46 PM
Subject: Re: [Jprogramming] item amend verb/gerund form

Not far off - as NuVoc says,

m} y  is equivalent to  m {"0 1&.|: y , with the restriction that m must 
be numeric.

Henry Rich


On 7/22/2015 2:23 PM, Kip Murray wrote:
> Sorry, I was off topic.  KM
>
> On Wednesday, July 22, 2015, Kip Murray <[email protected]> wrote:
>
>> Is this what you need?
>>
>>      0 1 {"0 _1 [1 1,:3 4
>> 1 4
>>
>>
>> --Kip Murray
>>
>> On Wednesday, July 22, 2015, 'Pascal Jasmin' via Programming <
>> [email protected]
>> <javascript:_e(%7B%7D,'cvml','[email protected]');>> wrote:
>>
>>> 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
>>>
>>
>>
>> --
>> Sent from Gmail Mobile
>>
>
>
----------------------------------------------------------------------
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