Re: Extension to the FFI to allow macro expansions to be avoided

John Meacham <[email protected]> Fri, 16 Apr 2004 14:12:16 -0700
Newsgroups gmane.comp.lang.haskell.ffi
Message-ID <[email protected]>
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

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