- rGHC Glasgow Haskell Compiler
No Unit Test Coverage
- Build Status
Buildable 17472 Build 33530: [GHC] Linux/amd64: Patch building Build 33529: [GHC] OSX/amd64: Continuous Integration Build 33528: [GHC] Windows/amd64: Continuous Integration Build 33527: arc lint + arc unit
But we need more! What does "all known keys" mean?
Maybe you mean "a list of all the keys that can be encountered in an execution of this program"? (This specification clearly allows you to drop dead code!) It would be better to tighen up what "encountered" means.
What happens if you call this function in a template haskell splice? Or should you not do that?
Static pointers may be present even if not evaluated by a particular execution. A more succinct description could be: the keys of the static pointers in the Static Pointer Table. Which steers us into explaining what the contents of the static pointer table are at a given point of the program.
It will yield the keys of the static pointer table of GHC, which I presume to be empty, plus the static pointers of any loaded packages. The contents of the static pointer table change every time a package with static pointers is loaded or unloaded.