> tab =: 1 : 0
> 1 1}. _1 _1 }. ": y u table y
> :
> 1 1}. _1 _1 }. ": x u table y
> )
When a verb's monadic valence is identical to its dyadic
valence except with all x's replaced by y's, the same effect
can be achieved by wrapping a dyad as [u] or u] or u~~ hence:
tab =: 1 : (''; ':'; '1 1 }. _1 _1 }. ": x u table y') ~~
Better yet, the adverb can produce a tacit verb:
tab =: 1 : '1 1 }. _1 _1 }. [: ": u table ~~'
-- Mark D. Niemiec <[email protected]>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm