
#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): Wiki Page: | -------------------------------------+------------------------------------- Comment (by harpocrates): I really appreciate all of the detailed explanations! Thanks!
`addForeignObject :: ByteString -> Q ()`
Seems like this would solve most of the problems brought up, and I prefer it too. It's worth noting that `bytestring` isn't currently a dependency of `template-haskell` though. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14298#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler