wiki:ForeignFunctionInterface

Version 1 (modified by ijones, 10 years ago) (diff)

--

Foreign Function Interface

See ExtensionDescriptionHowto for information on how to write these extension descriptions. Please add any new extensions to the list of HaskellExtensions.

Brief Explanation

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.

References

Pros

  • Widely accepted and used addendum.

Cons

  • Capable of introducing impurity into pure functions