[ghc-steering-committee] Record syntax

Simon Peyton Jones simonpj at microsoft.com
Tue Jan 7 11:59:41 UTC 2020


> It's a postfix operator, with the same precedence and same (left-)associativity as function application.

Yes, that’s right.   Nice.

Simon

From: Richard Eisenberg <rae at richarde.dev>
Sent: 07 January 2020 11:39
To: Simon Peyton Jones <simonpj at microsoft.com>
Cc: ghc-steering-committee at haskell.org
Subject: Re: [ghc-steering-committee] Record syntax




On Jan 7, 2020, at 11:29 AM, Simon Peyton Jones via ghc-steering-committee <ghc-steering-committee at haskell.org<mailto:ghc-steering-committee at haskell.org>> wrote:

It’s a postfix operator, binding less tightly than function application, but more tightly than any infix operator.

I want to understand this a bit better. Looking at your examples, I would phrase it thusly:

> It's a postfix operator, with the same precedence and same (left-)associativity as function application.

Does this agree with your idea? Indeed, I can't quite figure out what your text would mean.

Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-steering-committee/attachments/20200107/2e6d665f/attachment-0001.html>


More information about the ghc-steering-committee mailing list