[Jprogramming] Nested structures. Idioms? Combinators?
Raul Miller
rauldmiller at gmail.com
Fri Feb 19 07:26:41 UTC 2016
On Thu, Feb 18, 2016 at 6:03 PM, Jose Mario Quintana
<jose.mario.quintana at gmail.com> wrote:
> As you said earlier in this thread "But of course, if you mean tacit in
> some different sense, the rules change."
Yes, and perhaps I should be more explicit about what I'm trying to say there.
The expression 1 :'+/ % #' is tacit in two senses:
(a) the : expression takes a constant argument rather than a named argument.
(b) The result of the : expression does not contain any named arguments.
In contrast,
A=: '+/ % #'
1 : A
only satisfies definition (b).
Meanwhile, the definition 1 :'(+/ % #)y' only satisfies definition (a).
And, of course:
B=: '(+/ % #)y'
1 : B
satisfies neither definition.
> "Do you have an example where adverbial (or conjunctional) performance
> might be critical?"
If you put adverb definition inside a verb and then use that verb with
high low rank on a large array, the adverb performance might become
significant.
But I imagine you would need a somewhat complicated scenario before
anything like this could arise.
--
Raul
More information about the Programming
mailing list