[Jprogramming] What does gerund^:n do?

Henry Rich henryhrich at gmail.com
Sat Nov 17 15:39:05 UTC 2018


No. All I see are domain errors when you try gerund^:n . The question 
is, For what values of gerund and n does gerund^:n not fail, and what 
does it do then?
(I already know the answer because I'm looking at the source code, 
wondering whether this is functionality we ought to keep)
Henry Rich
On 11/17/2018 10:35 AM, Brian Schott wrote:
> Does this shed any light?
>> gerund =. +`-
> gerund/ i. 10
> 9
> gerund/ i. 11
> _1
> gerund^: i. 11
> |domain error
> | gerund ^:i.11
> gerund^:3 i. 11
> |domain error
> | gerund ^:3 i.11
> gerund^:3] i. 11
> |domain error
> | gerund ^:3]i.11
> vgerund =. -
> vgerund^:3] i. 11
> 0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _10
>>> On Sat, Nov 17, 2018 at 10:20 AM Henry Rich <henryhrich at gmail.com> wrote:
>>> (Actually, I know the answer to this, but I can't find it in the
>> documents anywhere & I wonder why it's supported).
>>>> For certain gerunds and certain n,
>>>> gerund^:n
>>>> does not produce an error. What does it do?
>>>> Henry Rich
>>>> ---
>> This email has been checked for viruses by AVG.
>> https://www.avg.com
>>>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>>


More information about the Programming mailing list

AltStyle によって変換されたページ (->オリジナル) /