[Haskell-cafe] Basic FFI with GHC
Simon Peyton-Jones
simonpj at microsoft.com
Thu Sep 13 06:12:18 EDT 2007
| > So, after more searching on the internet and some RTFM, I think I
| > found my answer, and it seems to work, but I don't know if it's the
| > right answer to generalize from.
|
| i have added your recipe to http://www.haskell.org/haskellwiki/FFI_cook_book
Thank you Bulat.
There's also a GHC page about the FFI here:
http://haskell.org/haskellwiki/GHC/Using_the_FFI
It seems reasonable to have two: one generic to Haskell and one specific to GHC.
- But it would make sense to add a pointer from the generic one to the GHC one
- And perhaps some of the material on the GHC page is actually generic,
and should be moved?
Simon
More information about the Haskell-Cafe
mailing list