The Haskell 98 Foreign Function Interface 1.0:
An Addendum to the Haskell 98 Report
The Haskell 98 Foreign Function Interface (FFI) adds support
for invoking code written in other programming languages from Haskell
and vice versa. The FFI is designed as a non-intrusive extension to the
Haskell 98 standard.
Version 1.0 focuses on interaction with C code, but the basic framework
can also be used for interfacing to languages other than
C.
Version 1.0 of the FFI Addendum is available in the following forms:
System Compliance Status:
- GHC conforms to the standard.
- NHC98 conforms to large parts of
the standard; see the release notes for
details.
- Hugs conforms to
the standard.
Haskell FFI Resources: