<div dir="ltr">I'm loosely in favour of this for 'do', not quite so keen for lambda expressions - but I have no justifiable reason why, other than "it looks a bit weird".<div><br></div><div>I don't really like $ from an editor perspective though (tooling has to become aware of a single function when performing refactorings), so anything that helps reduce how prolific that operator is is a win in my book!</div><div><br></div><div>Is the following going to be valid code under your extension?</div><div><br></div><div>   runReaderT</div><div>     do foo</div><div><span style="font-size:13.1999998092651px;line-height:19.7999992370605px">        bar</span></div><div><span style="font-size:13.1999998092651px;line-height:19.7999992370605px">     env</span></div><div><br></div><div>Likewise, I expect the following also parses:</div><div><br></div><div>import Control.Monad</div><div><br></div><div>main :: IO ()</div><div>main = when True</div><div>         do print "Hello"</div><div><br></div><div>- Ollie </div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Sep 6, 2015 at 7:17 AM Alexey Vagarenko <<a href="mailto:vagarenko@gmail.com">vagarenko@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">-1.<br>Creating a language extension just to get rid of a single character is overkill.<br></div>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
</blockquote></div>