[GHC] #10843: Allow do blocks without dollar signs as arguments
GHC
ghc-devs at haskell.org
Sat Sep 5 20:44:41 UTC 2015
#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: | Differential Revisions:
-------------------------------------+-------------------------------------
Comment (by mpickering):
How about case, if and let expressions?
I personally found it a bit inconsistent that `id Record {..}` parsed
correctly so this does bring the other expression types in line with that
behaviour. On the other hand, I think the `$` is useful for the reader to
indicate that what follows is the final single argument.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10843#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list