
15 Aug
2009
15 Aug
'09
1:18 p.m.
Is there a way from GHCi to discover the path to a particular module that you have imported or loaded?
If you do "ghci -v4" it will print out all the exposed modules right below the package that exposes them and the directory the package is in. You could just copy/paste this text and do a simple text search in your edit or choice. I don't know how to get it to print this information when you load a module, but GHCi is easy enough to read so perhaps you could make a patch and send it in! Thomas