Proposal: require spaces around the dot operator
greg at gregweber.info
Sun Feb 12 03:04:03 CET 2012
I am sorry that I made the huge mistake in referencing future possible
proposals. If this proposal passes, that has no bearing on whether the
other proposals would pass, it just makes them possible.
Please help me fix my error by stopping all discussions of future
proposals and focusing solely on the one at hand.
On Sat, Feb 11, 2012 at 5:39 PM, Roman Leshchinskiy <rl at cse.unsw.edu.au> wrote:
> On 12/02/2012, at 01:29, Nate Soares wrote:
>> If -> was introduced for accessing fields, we'd have to discuss whether it should have spaces around it. I'd lean towards requiring that it have no spaces when used for field access, for symmetry with "." when used for module access.
> I'm not spaces matter in this case, -> is a reserved token so we would just have expressions of the form expr -> field with no special lexical rules. BTW, if -> doesn't work for some reason then there is also => which AFAIK isn't used in expressions at all currently.
More information about the Haskell-prime