Extension to the FFI to allow macro expansions to be avoided

John Meacham john at repetae.net
Fri Apr 16 17:12:16 EDT 2004

I really like that the Haskell FFI is defined at the ABI level, and that
it doesn't need to generate its own stub funtions or whatnot.  I
especially like that it doesn't require having a C compiler installed.
it is a foreign function interface that supports the C calling
convention. If you want a C aware version, that seems like what 'hsc2hs'
is for (as well as some of the more heavyweight stuff out there). then
you can do (#type WINDOW) and (#const KEY_LEFT) and such things in your
haskell code and take the preprocessor and C constructs into account.


John Meacham - ⑆repetae.net⑆john⑈ 

More information about the FFI mailing list