[Haskell-cafe] Re: Monads aren't evil

Miguel Mitrofanov miguelimo38 at yandex.ru
Sun Jan 11 11:06:54 EST 2009


> Indeed but what's wrong in writing x + y (with additional spaces) ?
> Having the possiblity to write for instance +blah instead of inventing
> things such as $>* is neat in my opinion (in code or for  
> typesetting)...

I believe it was Bulat Ziganshin who once proposed parsing

x + y*z + t           as           x + (y * z) + t

and

x + y  *  z + t       as           (x + y) * (z + t)


More information about the Haskell-Cafe mailing list