Pragmas for FFI imports
Malcolm Wallace
Malcolm.Wallace at cs.york.ac.uk
Tue Feb 21 05:31:58 EST 2006
On Fri, Feb 17, 2006 at 01:45:27AM +0200, Einar Karttunen wrote:
> 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.
Just to note that nhc98 has had the pragma FFI_LIB for a long time
(under the name OPTIONS_LINK).
Regards,
Malcolm
More information about the Haskell-prime
mailing list