[GHC] #14298: Let Template Haskell dynamically add something with which to link

GHC ghc-devs at haskell.org
Sun Mar 25 19:02:11 UTC 2018


#14298: Let Template Haskell dynamically add something with which to link
-------------------------------------+-------------------------------------
        Reporter:  harpocrates       |                Owner:  (none)
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Template Haskell  |              Version:  8.2.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D4064
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"ceb914771aece0aa6d87339227ce406c7179d1d1/ghc"
 ceb91477/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="ceb914771aece0aa6d87339227ce406c7179d1d1"
 Support adding objects from TH

 The user facing TH interface changes are:

   * 'addForeignFile' is renamed to 'addForeignSource'
   * 'qAddForeignFile'/'addForeignFile' now expect 'FilePath's
   * 'RawObject' is now a constructor for 'ForeignSrcLang'
   * 'qAddTempFile'/'addTempFile' let you request a temporary file
     from the compiler.

 Test Plan: unsure about this, added a TH test

 Reviewers: goldfire, bgamari, angerman

 Reviewed By: bgamari, angerman

 Subscribers: hsyl20, mboes, carter, simonmar, bitonic, ljli, rwbarton,
 thomie

 GHC Trac Issues: #14298

 Differential Revision: https://phabricator.haskell.org/D4217
 }}}

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


More information about the ghc-tickets mailing list