[Haskell-cafe] Global Variables and IO initializers
Malcolm Wallace
Malcolm.Wallace at cs.york.ac.uk
Tue Nov 9 05:48:46 EST 2004
Benjamin Franksen <benjamin.franksen at bessy.de> writes:
> 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
More information about the Haskell-Cafe
mailing list