t =: 13 : 'y+y*2'
   t
] + 2 * ]

2008/9/10 Ian Gorse <[EMAIL PROTECTED]>

> Hi list,
>
> Another learning question.
>
> 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?
>
> The way I was thinking was
>
> r=: (*&2)+(*&1)
> r 10
> 30
>
> Even though that has produced the correct answer, what is the best way?
>
> Thanks
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>



-- 
Björn Helgason, Verkfræðingur
Fugl&Fiskur ehf,
Þerneyjarsundi 23, Hraunborgum
Po Box 127,801 Selfoss ,
t-póst: [EMAIL PROTECTED]
gsm: +3546985532
Landslags og skrúðgarðagerð, gröfuþjónusta
http://groups.google.com/group/J-Programming


Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans

góður kennari getur stigið á tær án þess að glansinn fari af skónum
         /|_      .-----------------------------------.
        ,'  .\  /  | Með léttri lund verður        |
    ,--'    _,'   | Dagurinn í dag                     |
   /       /       | Enn betri en gærdagurinn  |
  (   -.  |        `-----------------------------------'
  |     ) |        (\_ _/)
 (`-.  '--.)       (='.'=)
  `. )----'        (")_(")
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to