first there is +`- i.5 2 +`*`- i.5 3
seems like the number of items in gerund is the result no matter what? +`*:^:_1 i.5 0 1 2 3 4 seems to result in y gerund not length 2 is a length error? other n seem to be domain errors including 0 I'm ok with making this an error, rather than "improving" functionality to do something "powerful" ________________________________ From: Henry Rich <[email protected]> To: [email protected] Sent: Saturday, November 17, 2018 10:39 AM Subject: Re: [Jprogramming] What does gerund^:n do? 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 <[email protected]> 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 > > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
