Skip to content
  • Alec Theriault's avatar
    Support adding objects from TH · ceb91477
    Alec Theriault authored and Ben Gamari's avatar Ben Gamari committed
    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
    ceb91477