
29 Nov
2007
29 Nov
'07
7:01 p.m.
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 format: ghc --show-iface foo.hi -- 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