News for hackers. Stuff that matters.
Re:Thoughts on Haskell by chrisaycock on Saturday October 17, 2015 @04:21PM (#10405893)
> 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

There are no comments on this comment yet.