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

GHC ghc-devs at haskell.org
Mon Jan 14 11:21:46 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 mpickering):

 Perhaps it is not common but it can become increasingly cumbersome to
 manually insert lets as your program gets more complicated. Another
 example is if your program generates a small list statically in many
 different places you just want this to float outwards. Manually let
 binding it requires adding additional arguments which makes the program
 more difficult to understand.

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


More information about the ghc-tickets mailing list