[Haskell-cafe] FFI C Structs

Tim Chevalier catamorphism at gmail.com
Sat Jul 19 06:35:09 EDT 2008


On 7/18/08, Aleš Bizjak <ales.bizjak0 at gmail.com> wrote:

>  PS: An example of a haskell binding like this would be even more useful, if
> anyone knows of such.

I don't know that it's good for much else besides serving as an
example of an FFI binding that uses structs (and possibly as an
example of what not to do), but you could look at my half-finished
GraphicsMagick binding:
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/hsmagick

Cheers,
Tim

-- 
Tim Chevalier * http://cs.pdx.edu/~tjc * Often in error, never in doubt
"Good memories make me feel bad / Bad memories make me feel small" --Dom Leone


More information about the Haskell-Cafe mailing list