[GHC] #10843: Allow do blocks without dollar signs as arguments

GHC ghc-devs at haskell.org
Fri Jul 8 10:22:53 UTC 2016


#10843: Allow do blocks without dollar signs as arguments
-------------------------------------+-------------------------------------
        Reporter:  agibiansky        |                Owner:  agibiansky
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.10.2
  (Parser)                           |
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #11706            |  Differential Rev(s):  Phab:D1219
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by maeder):

 By saying "curly record braces are sort of a strongly binding postfix
 operator" I suggest that it would also possible to allow, i.e. "R {...}
 {...}" as nested record updates (but that would be a different issues).

 The keywords, do, \, case, etc. in this proposal, however, are IMHO best
 characterized as weakly binding prefix operators (and I completely ignore
 curly layout braces here on purpose - I hardly use them).

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10843#comment:30>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list