[GHC] #12778: Expose variables bound in quotations to reify

GHC ghc-devs at haskell.org
Tue Jun 6 13:51:59 UTC 2017


#12778: Expose variables bound in quotations to reify
-------------------------------------+-------------------------------------
        Reporter:                    |                Owner:  (none)
  facundo.dominguez                  |
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:
       Component:  Template Haskell  |              Version:  8.0.1
      Resolution:                    |             Keywords:  template-
                                     |  haskell reify
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D3003
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by facundo.dominguez):

 Regarding the previous proposal, some code might break because this code
 {{{
 do exp <- q
    [| let x = True in $(return exp) |]
 }}}
 stops being equivalent to {{{[| let x = True in $(q) |]}}}.

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


More information about the ghc-tickets mailing list