
#13237: Extend TH with addModCStub -------------------------------------+------------------------------------- Reporter: | Owner: facundo.dominguez | facundo.dominguez Type: feature request | Status: patch Priority: normal | Milestone: 8.2.1 Component: Template Haskell | Version: 8.0.1 Resolution: | Keywords: inline-c Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D3106 Wiki Page: | -------------------------------------+------------------------------------- Comment (by facundo.dominguez):
We'd add the hash of mycppdstring to the .hi file.
I follow this far. Now that the hash is in the .hi file, how does GHC know to recompile `A.hs` the next time `header.h` changes? Making a new ticket sounds good. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13237#comment:17 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler