
On Nov 21, 2007, at 19:57 , Galchin Vasili wrote:
Hi Ian,
I am trying to dump out all function signatures exported from System.Directory. I just tried inside ghci: :! ghc --show-iface System.Directory. This is getting closer ... thank you! However, now there appears to be a "path" problem because I get an error message: " System.Directory: openBinaryFile: does not exist (No such file or directory)". ??
Just for reference: --show-iface is intended to operate on an explicitly specified .hi file, not a module name. You could locate System\Directory.hi in the ghc lib directory and run ghc --show-iface on that, or just use :browse. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH