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

Reply via email to