
9 Nov
2004
9 Nov
'04
5:48 a.m.
Benjamin Franksen
We could reduce the pain of applying the C wrapper solution a bit by adding some support in the FFI. I imagine a feature to allow writing small C wrappers around imported foreign routines directly inside the Haskell module.
Such a facility is already available - the FFI pre-processor `GreenCard' allows you to write "in-line" C code in your Haskell module. Regards, Malcolm