In case no one has posted this already, to get both the monadic and dyadic definitions of a hook (f g), you use: ([ f g@])
-- Raul On Sun, Aug 19, 2012 at 2:16 PM, Henry Rich <[email protected]> wrote: > ([ f g) y <=> (f g) y > > Yes. > > But not for the dyadic case: > > x ([ f g) y <=> x f x g y > > but > > > x (f g) y <=> x f g y > > > Henry Rich > > > > On 8/19/2012 1:47 PM, David Vaughan wrote: >> >> If the verb train has an even number of verbs in it, then it is called a >> hook. >> >> (f g) y <=> y f g y NB. monadic hook >> >> x (f g) y <=> x f g y NB. dyadic hook >> >> See http://www.jsoftware.com/help/dictionary/dictf.htm >> >> Also, a hook can always (I believe) be turned into a fork by adding the [ >> verb to the left of the train (has to be [ and not ] because of the dyadic >> case): >> >> ([ f g) y <=> (f g) y >> >> The situation is similar for the dyadic case. >> >> ___________________________ >> >> David Vaughan >> >> On 19 Aug 2012, at 18:21, Owen Marschall <[email protected]> wrote: >> >>> Hey all, J beginner here. In the first circuit lab, I encountered the >>> verb (-|.)"1, and in trying to figure out its meaning, I discovered that >>> (-|.) noun is different from -|. noun. I'm familiar with forking, but this >>> only involves two verbs. Can someone explain this to me? >>> >>> Thanks, >>> Owen >>> ---------------------------------------------------------------------- >>> 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 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
