[Haskell-cafe] Haskell interface file (.hi) format?

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Thu Nov 29 19:01:17 EST 2007

On Nov 29, 2007, at 17:45 , Rob Hoelz wrote:

> Does anyone know if/where I can find a specification for the .hi files
> generated by GHC?  I ask because I want to write an omni-completion
> plugin for Vim to make Haskell hacking a bit nicer.

There isn't one.  However, you can use a sufficiently recent GHC  
(works back to 6.6, dunno how much earlier) to dump it in a readable  

   ghc --show-iface foo.hi

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