[Haskell-cafe] FFI basics

Alistair Bayley alistair at abayley.org
Fri Feb 9 08:26:15 EST 2007

> I would like to use FFI for the first time. Can someone
> give me a really, really simple complete example?
> Everything I found on the wiki
> seems way beyond that - maybe I missed it.
> I am using GHC. I am not using Windows.

>From the old wiki:

>From the new wiki, this search shows you pages with titles starting with F:

Is this the stuff you're referring to which seems to be "way beyond a
simple example"? The FFI tutorial on the old wiki seems to be quite
simple. If you find the pages on the old wiki useful, then please move
them over to the new wiki. Or feel free to write some new pages that
fill the gaps you find.

There's quite a bit of Haskell code about which does FFI. From memory:
darcs, and the various database libs (HSQL, HDBC, Takusen).


More information about the Haskell-Cafe mailing list