[GHC] #13608: Expose the type of quasiquotes

GHC ghc-devs at haskell.org
Tue Jun 6 17:39:05 UTC 2017


#13608: Expose the type of quasiquotes
-------------------------------------+-------------------------------------
        Reporter:                    |                Owner:
  facundo.dominguez                  |  facundo.dominguez
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:
       Component:  Template Haskell  |              Version:  8.0.1
      Resolution:                    |             Keywords:  QuasiQuotes
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  12778             |  Differential Rev(s):  Phab:D3610
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by facundo.dominguez):

 I think this proposal would stumble with the same rock that ticket:12778
 and approaches (4) and (5). Given a nested splice, how do you associate it
 with a post-processor added with `addPostProcessor`?

 This approach doesn't look very different from using compiler plugins. If
 the user can annotate the splice location somehow, a plugin pass could
 spot them and complete the program.

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


More information about the ghc-tickets mailing list