Pepe wrote: > We can model, if I am not mistaken, the expected behavior of m...@.v > explicitly as:
Yep. My first model was a bit more convoluted than yours, because it also supported m...@.n (in an attempt to use the interpreter [j] to implement @. according to the DoJ [J]). The second model was similar, except that the conjunction, given two arguments, produced a verb, instead of waiting for the argument(s) to the derived verb as well (and so was more faithful to @. than the first model). > What I do not know, is how to construct conjunctions tacitly; > so, I will be awaiting to see what Dan might have up his sleeve. As I said, I'm not yet convinced this is possible. The only hint I have is my tacit (nee "anonymous") evoke adverb can produce a conjunction. And, as the name implies, the adverb is defined completely tacitly. However, I'm pretty sure the conjunction produced has to be quoted in the first place, which may render the phrase non-tacit. The question is almost equivalent to "with conj=.'@' then is 'conj'~ tacit?", except that the intermediate assignment isn't required. My instinct is to answer no, and furthermore that the answer may even be irrelevant, because the requirement to quote the conjunction defeats the purpose of tacit code to an extent (e.g. +1 :'@' would be a shorter way to express the above). So, unless I can find a sneaky way to produce a true tacit conjunction in J (which is probably impossible [1]), I would not have approached Viktor's question this way. > it is possible to write tacitly and adverb Ag2 so that (m`v) Ag2 would > be equivalent to the expected m...@.v but it would not be straightforward Yep. It was pointers of this sort that I alluded to in my original message. Though I was thinking more along the lines of an Ag3 so that m v Ag3 would be equivalent to the DoJ definition of m...@.v (note the absence of the ` ). I feel this would be a "purer" approach. -Dan [1] Because operators have the highest precedence in J, no other part of speech can take them as arguments. This leads me to believe that any adverb that produces a conjunction must have that conjunction quoted & passed in as an argument (noun or verb), in one form or another. Barring that, I think we'd need a special train that produced a conjunction, and all trains of that sort were removed in J5. Hence my intuition that a "truly tacit conjunction" is impossible in J5+. But I would love to be proven wrong. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm