[Haskell-cafe] FFI basics
magnus at therning.org
Thu Feb 15 07:08:41 EST 2007
On Fri, Feb 09, 2007 at 14:23:53 +0200, Yitzchak Gale wrote:
>I would like to use FFI for the first time. Can someone give me a
>really, really simple complete example?
>I want to be able to take a simple C program and access a function from
>it in Haskell. A simple example of the other way around would be nice,
>too, but I don't happen to need that just now.
>I started reading the Addendum, but that looks like it would be a lot
>easier to read if I saw a simple complete example first. Everything I
>found on the wiki seems way beyond that - maybe I missed it.
>I am using GHC. I am not using Windows.
Shameless self-promotion: http://therning.org/magnus/archives/238
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus at therning.org Jabber: magnus.therning at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20070215/7efe49d3/attachment-0001.bin
More information about the Haskell-Cafe