
In the case of DWARF stacktraces this will require that we are able to
#10068: Make the runtime reflection API for names, modules, locations more systematic -------------------------------------+------------------------------------- Reporter: simonpj | Owner: Type: bug | Status: new Priority: high | Milestone: 7.12.1 Component: Compiler | Version: 7.8.4 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by simonpj): produce a `Module` for any given loaded Haskell module. It seems the easiest way to do this would be to simply inject a binding with a predictable name into each module at compile time. Yes -- that is exactly what I have done in my `wip/T9858-typeable-spj` branch. I really want to get that branch committed... let's discuss in our call today. Simon -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10068#comment:14 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler