Extension to the FFI to allow macro expansions to be avoided

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Fri Apr 16 05:53:30 EDT 2004


Sven Panne <Sven.Panne at aedion.de> writes:

> Fergus Henderson wrote:
> > [...] the Haskell FFI has sacrificed quality for easy of implementation.
> > If this starts causing problems for users, I think the right solution
> > is to raise the bar for implementations, not to lower it. [...]
> 
> P.S. to Malcolm: I did not mention nhc98, because I don't know how its
> back-end works, not because of an evil master plan against nhc98... :-)

S'okay.  nhc98's default backend always compiles via C, and therefore
FFI declarations that use macros will work in much the expected way
(I think).

Regards,
    Malcolm


More information about the FFI mailing list