[GHC] #16176: Let-insertion for template haskell

GHC ghc-devs at haskell.org
Mon Jan 14 11:01:44 UTC 2019


#16176: Let-insertion for template haskell
-------------------------------------+-------------------------------------
        Reporter:  mpickering        |                Owner:  (none)
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Template Haskell  |              Version:  8.6.3
      Resolution:                    |             Keywords:
                                     |  TypedTemplateHaskell
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 simonpj):

 > Now if I pass a constant function to foo, the resulting code won't
 mention x so it could be floated out.

 Is this really a common case?

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


More information about the ghc-tickets mailing list