Hello everyone. I have been using the Haskell compiler GHC 6.6 a bit recently to test some simple programs (for learning purposes). In it's default mode it produces three output files for a given source file: a .exe, a .o and a .hi. The .exe is quite big and I found out elsewhere that's because it contains all the base Haskell runtime functions statically linked. Does anyone know what goes in the .hi file? I've just not used a compiler that produces three output files before, so I'm curious. I would assume the .o is an object file (i.e. contains the instructions generated from your source code).

Steven.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.