[GHC] #1475: Adding imports and exports with Template Haskell

GHC ghc-devs at haskell.org
Thu Jun 19 12:16:32 UTC 2014


#1475: Adding imports and exports with Template Haskell
-------------------------------------+------------------------------------
        Reporter:  igloo             |            Owner:
            Type:  feature request   |           Status:  new
        Priority:  normal            |        Milestone:  ⊥
       Component:  Template Haskell  |          Version:  6.8.2
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------

Comment (by goldfire):

 I still want it. `singletons` generates gobs of boilerplate, some of which
 it is important to export. It's not terribly hard for users to write the
 export lists manually, but it's just more boilerplate that would be nice
 to automate.

 However, for my use case, I care only about TH writing to ''export''
 lists, not ''import'' lists. TH-controlled export lists wouldn't hit the
 problem SPJ points out in comment:18.

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


More information about the ghc-tickets mailing list