scope of header files

John Meacham john at repetae.net
Wed Mar 5 20:37:05 EST 2008


On Thu, Mar 06, 2008 at 12:23:35AM +0000, Duncan Coutts wrote:
> Which is really annoying :-) I'd like greater control over it, in
> particular a way to limit headers to package scope so that dependent
> code does not need the headers.

Ideally there would be no need for headers at all. Everything needed is
inherently in the foreign declaration. If anything, the headers should
just be used as a sanity check, not actually to affect the generated
code. It would be nice if ghc just stopped relying on them and ignored
them altogether.

        John
-- 
John Meacham - ⑆repetae.net⑆john⑈


More information about the Glasgow-haskell-users mailing list