Viktor Cerovski wrote:
> 
> 
> Roger Hui wrote:
>> 
>> [...]
>> There are some arguments against hook itself.  See:
>> http://www.jsoftware.com/jwiki/Essays/Hook%20Conjunction%3F
>> 
> That is an interesting link.
> 
> It should be noted that it's also possible to define conjunction 
> representing fork, using explicit conjuction/tacit adverb hybrid 
> definition:
> 
>     F =: 2 : '`u(`v)(`:6)'
> 
> Examples:
> 
>    f g F h
> f g h
>    f g F h u F v
> (f g h) u v
>    u f g F h F v
> u (f g h) v
>    w f g F h u F v
> w ((f g h) u v)
> 
> 
Hook (u v) can also be obtained via F as:

   [ u F ] [ v F ]
([ u ]) ([ v ])

-- 
View this message in context: 
http://old.nabble.com/x-%E2%88%88--y1%2Cy2%29-tp26096162s24193p26146620.html
Sent from the J Programming mailing list archive at Nabble.com.

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to