[GHC] #15843: Tuple sections can't be quoted
GHC
ghc-devs at haskell.org
Wed Nov 14 19:51:42 UTC 2018
#15843: Tuple sections can't be quoted
-------------------------------------+-------------------------------------
Reporter: mpickering | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.6.1
Resolution: | Keywords: newcomer,
| TemplateHaskell
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by goldfire):
I disagree with the design in the original post. TH syntax should really
be as close as possible to Haskell syntax. Instead, I would say that TH
should support tuple sections directly. I propose changing `TupE :: [Exp]
-> Exp` to become `TupE :: [Maybe Exp] -> Exp`.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15843#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list