
25 Nov
2015
25 Nov
'15
10:51 a.m.
How can I get a running Haskell program to tell me where it’s looking, in order to satisfy “import …” statements?
Short answer: You can't. Long answer: Everything is imported at compile time. GHC for instance usually links all imports statically. I.e. no files will be opened for the import statements. The only dynamically linked libraries are libc, posix, ... Maybe if you clarify what you want to do, I can be more helpful. Cheers Silvio