[Haskell-cafe] GHC Extension Proposal: ArgumentBlock

Tom Ellis tom-lists-haskell-cafe-2013 at jaguarpaw.co.uk
Sun Sep 6 12:55:58 UTC 2015


On Sun, Sep 06, 2015 at 01:53:44PM +0100, Tom Ellis wrote:
> On Sun, Sep 06, 2015 at 12:52:04PM +0000, Oliver Charles wrote:
> > On Sun, Sep 6, 2015 at 1:46 PM 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.
> > 
> > Really? You would rather increase syntactic complexity just to make the
> > parser code simpler?
> 
> On the contrary, I consider it a *decrease* in syntactic complexity!

It's nothing to do with the "parser code", by the way.  It's to minimize
what I have to keep in my own head when writing code.


More information about the Haskell-Cafe mailing list