---Ian Gorse wrote:
> I have a really simple monad verb that I wish to convert into
> a tacit verb.
>
> I actually thought I finally understood conjuctions and bonding but
> that don't seem to be the case.
>
> t =: 3 : '(y*2)+y'
> t 10
> 30
>
> What do I need to do I wanted to convert (y*2)+y that into a
> tacit verb?

I'm not sure this will help you with bonding etc but I would write t like this:

   t=: +: + ]
   t 10
30

Another option if the multiplier isn't always 2 could be:
   t1=: 2&* + ]
   t1 10
30

Of course you could always ask J for a hint:
   13 : '(y*2)+y'
] + 2 * ]

   t2=: ] + 2 * ]
   t2 10
30
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to