Pragmas for FFI imports

Einar Karttunen ekarttun at
Thu Feb 16 18:45:27 EST 2006


I would like to propose two pragmas to be included in Haskell'
for use with FFI. One for specifying the include file defining
the foreign import (INCLUDE in ghc) and an another for defining
a library that the foreign import depends on, called FFI_LIB
(not implemented at the moment). These changes would not break
any existing code.

- Einar Karttunen

More information about the Haskell-prime mailing list