[Haskell-cafe] Proposal: Infix expression keyword: -XInfixExpressions

Christopher Done chrisdone at gmail.com
Thu Feb 19 22:05:50 UTC 2015


On 19 February 2015 at 22:58, Nils Schweinsberg <mail at nils.cc> wrote:
> I like the general idea to represent variable argument functions as infix
> function applications, but I wouldn't like a purely syntactical solution
> that adds no real new functionality

Well, it adds the functionality that it adds. Do notation,
if/then/else, "where" syntax, bang patterns, etc. are "purely
syntactical solutions that add no real new functionality" by this
measure. Some of the best language features are made by a simple
transformation.


More information about the Haskell-Cafe mailing list