An adverb can also take a fixed number of arguments or even a variable number of arguments using a sentinel (a good use of [:) in the same fashion. Moreover, the adverb can be defined tacitly and it is not too difficult if one is willing to come to the dark side ;)
See the adverbs sna and Recur defined in http://www.jsoftware.com/pipermail/programming/2014-March/035662.html for a tease. They are coded using a Jx interpreter extensions but I am pretty sure that they can be rewritten to operate with an official J interpreter. I find the very useful; I will elaborate on that another day. On Wed, Jan 28, 2015 at 6:40 PM, 'Pascal Jasmin' via Programming < [email protected]> wrote: > A conjunction that parses both its parameters on the left, I call a double > adverb. It is fairly easy to convert any named conjunction to use this > parsing, and it has several neat properties. > > > http://www.jsoftware.com/jwiki/PascalJasmin/double%20adverbs%20vs%20conjunctions > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
