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

Tom Ellis tom-lists-haskell-cafe-2013 at jaguarpaw.co.uk
Thu Feb 19 17:02:15 UTC 2015

On Thu, Feb 19, 2015 at 03:51:31PM +0100, Christopher Done wrote:
> The idiom discussion brought back to mind a general problem (well, for
> me) in Haskell syntax which is there is no syntactic sugar for
> interspersing operators to many arguments.

The goal of reducing duplication like this is a worthy one.  I don't like
the idea of using what essentially amounts to a macro as it is not first
class.  However, if a first class way can be found to make such a thing type
check (perhaps some cunning use of dependent types) then I will be all for


More information about the Haskell-Cafe mailing list