<div dir="ltr">I'm a huge fan of BlockArguments in limited doses. There are some good idioms with them, e.g.<div><br></div><div>1. bracket createResource destroyResource \resource -> do</div><div> ...</div><div><br></div><div>2. when cond do</div><div> ...</div><div><br></div><div>3. for elems \elem -> do</div><div> ...</div><div><br></div><div>Adding the `$` to those examples is just syntactic noise. It's quite clear what's going on without it.</div><div><br></div><div>I know some people found ways to abuse BlockArguments, e.g. by prefixing each function argument with a `do`, and I'm not a fan of that. But with some sense of taste it's possible to put BlockArguments to good use.</div><div><br></div><div>Vlad</div><div></div><div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 8, 2024 at 5:54 PM Arnaud Spiwack <<a href="mailto:arnaud.spiwack@tweag.io" target="_blank">arnaud.spiwack@tweag.io</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">One thing that would change my mind is if 90%+ of the Haskell community always switched it in, as you do. But the poll only showed 43%; substantial but not overwhelming.</div></blockquote><div><br></div>Honestly, if we trust that ~45% of active Haskell programmers use BlockArgument, then I'd say it's a pretty convincing argument to include it. I'm absolutely not intent on using it (in fact, the mere existence of BlockArgument is a little baffling to me), but turning it on doesn't force me to use it. So if 50% of Haskellers care enough to actively turn on the extension, I think we can consider it a pretty compelling reason to have BlockArgument by default.</div><div class="gmail_quote"><br></div><div class="gmail_quote">/Arnaud<br></div></div>
_______________________________________________<br>
ghc-steering-committee mailing list<br>
<a href="mailto:ghc-steering-committee@haskell.org" target="_blank">ghc-steering-committee@haskell.org</a><br>
<a href="https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-steering-committee" rel="noreferrer" target="_blank">https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-steering-committee</a><br>
</blockquote></div>