4 ms·
> I'm not familiar with other languages that have support for named, infix functions. Are there better syntactic alternatives? A "dyadic function" in q/kdb+'s
by chrisaycock 11y ago
> I'm not familiar with other languages that have support for named, infix functions. Are there better syntactic alternatives?
A "dyadic function" in q/kdb+'s .q namespace has a kind of Currying that accepts the right-hand value as the second argument to the function. (This is abusive in practice since the user should never add to the .q namespace as future conflicts are possible.)
.q.add:{x+y}
5 add 10