How to access defines and enums in a convenient way?

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Fri Jun 6 08:55:33 EDT 2003


Martin Norbäck <d95mback at dtek.chalmers.se> writes:

> hsc2hs solved my problem! It would be even greater if ghc --make could
> accept .hsc as source and not generate a .hs file at all, like it does
> with .lhs.

Just a quick reminder that although 'ghc --make' does not know about
preprocessors, 'hmake' does, and should be able to handle .hsc files
automatically exactly as you wish.

Regards,
    Malcolm



More information about the FFI mailing list