[Haskell-cafe] question about ghci on windows ...

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Wed Nov 21 20:12:11 EST 2007


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 at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH




More information about the Haskell-Cafe mailing list