[GHC] #10331: Accept HsSyn in splices and generate it in quotes (ghc-api)

GHC ghc-devs at haskell.org
Mon Apr 20 16:45:32 UTC 2015


#10331: Accept HsSyn in splices and generate it in quotes (ghc-api)
-------------------------------------+-------------------------------------
        Reporter:  ezyang            |                   Owner:
            Type:  feature request   |                  Status:  new
        Priority:  low               |               Milestone:
       Component:  Template Haskell  |                 Version:  7.11
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by simonpj):

 I'm utterly lost.  To understand what is proposed here I need a lot more
 specifics and examples.  For example
  * I think (though you do not say) that clients of the language extension
 would abandon all use of the `template-haskell` library.  Instead they
 would depend on the `ghc` library.
  * I think that `[| e |]` would have type `Q (HsExpr RdrName)`.
 Etc etc.  But it needs fleshing out or we'll all just talk at cross
 purposes.

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


More information about the ghc-tickets mailing list