Cookbook/FFI

From HaskellWiki

Interfacing with C-code[edit]

Magnus has written a nice example (link broken) on how to call a C function operating on a user defined type.