[Haskell-cafe] GHC Extension Proposal: ArgumentBlock

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Sun Sep 6 12:48:52 UTC 2015


-1 for me, as I think the examples make it look *more* ambiguous.

Whilst it can be a pain to have to remember to add the $, there's less
immediate information that the `do`, lambdas, etc. form a new block
and are not just individual word arguments to the calling function.

On 6 September 2015 at 22:45, Tom Ellis
<tom-lists-haskell-cafe-2013 at jaguarpaw.co.uk> wrote:
> On Sun, Sep 06, 2015 at 12:34:55PM +0000, Oliver Charles wrote:
>> People saying "it just saves a character" seems to have completely missed
>> my point and source code readability/refactoring options from a tool's
>> perspective. It does more than save a character.
>
> Let's look at it from the opposite direction.  If "ArgumentBlock" were
> already the default then we could remove complexity from the grammar for the
> cost of a single character.  That sounds like a great tradeoff to me, and is
> the reason I can't support ArgumentBlock.
>
> Tom
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe



-- 
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
http://IvanMiljenovic.wordpress.com


More information about the Haskell-Cafe mailing list