Your example used i rather than i. when you created the verb. If this is a
cut and paste, that would be significant.

On Sat, Jul 7, 2018, 14:08 Skip Cave <[email protected]> wrote:

> I have a tacit verb that finds the sum of the factorials of the odd
> integers from 1 to 2n - 1:
>
> +/!>:2*i.1
>
> 1
>
> +/!>:2*i.2
>
> 7
>
> +/!>:2*i.3
>
> 127
>
> +/!>:2*i.4
>
> 5167
>
> I want to assign that tacit verb a name f:
>
> f=. +/!>:2*i
>
> f 1
>
> 2
>
> f 2
>
> 3 3
>
> f 3
>
> 4 4 4
>
> f 4
>
> 5 5 5 5
>
>
> My tacit verb doesn't work the same when I assign it a name. How do I
> modify the verb to allow me to name it? Why do I have to change my verb,
> just because I assign it a name?
>
> Skip
>
>
> Skip Cave
> Cave Consulting LLC
> ----------------------------------------------------------------------
> 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