If I am able to define a verb dyadically and would like to have the monadic
definition to be the same as the dyadic function with a default left
argument which is dependent on the shape of the right argument, I can do it
like this (using a trivial example):

   fd =: 4 : 'x{.i.y'
   fa =: 3 : 0
(#y) fd y
:
x fd y
)

But I only want to define fa. Is there a way I can avoid defining fd?

Graham Parkhouse



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

Reply via email to