Difference between revisions of "Foreign Function Interface"
Jump to navigation
Jump to search
(Added a link to "Use another language to call a function") |
(Added a link to the GHC manual) |
||
Line 3: | Line 3: | ||
Select one of the following links for more information: |
Select one of the following links for more information: |
||
* [[FFI Introduction]] |
* [[FFI Introduction]] |
||
+ | * GHC manual: [http://www.haskell.org/ghc/docs/latest/html/users_guide/hsc2hs.html Writing Haskell interfaces to C code: hsc2hs] |
||
* The official description: chapters 8 and 24 to 37 of [http://www.haskell.org/onlinereport/haskell2010/#QQ2-15-159 The Haskell 2010 Language Report] (a draft: [http://www.cse.unsw.edu.au/~chak/haskell/ffi/ The Haskell 98 Foreign Function Interface 1.0. An Addendum to the Haskell 98 Report]) |
* The official description: chapters 8 and 24 to 37 of [http://www.haskell.org/onlinereport/haskell2010/#QQ2-15-159 The Haskell 2010 Language Report] (a draft: [http://www.cse.unsw.edu.au/~chak/haskell/ffi/ The Haskell 98 Foreign Function Interface 1.0. An Addendum to the Haskell 98 Report]) |
||
* [[FFI cook book]] |
* [[FFI cook book]] |
Revision as of 07:11, 24 March 2013
The Foreign Function Interface (FFI) allows you to link Haskell programs to programs written in another language.
Select one of the following links for more information:
- FFI Introduction
- GHC manual: Writing Haskell interfaces to C code: hsc2hs
- The official description: chapters 8 and 24 to 37 of The Haskell 2010 Language Report (a draft: The Haskell 98 Foreign Function Interface 1.0. An Addendum to the Haskell 98 Report)
- FFI cook book
- FFI complete examples
- GHC/Using the FFI
- Tackling the awkward squad
- Blog article: Simple demonstration of Haskell FFI
- Blog article: C and Haskell sitting in a tree…
- Applications and libraries/Interfacing other languages
- Blog article: C2HS example: To save other people frustration
- Cxx foreign function interface; how to link to a C++ library
- Blog article: Safety first: FFI and threading
- Use another language to call a function; Haskell