[Haskell-cafe] example of FFI FunPtr
vigalchin at gmail.com
Thu Jun 5 03:38:26 EDT 2008
I want to model a Haskell function that is a callback from C. I have
only found one example in the unix package's Semaphore.hsc, which apparently
is not used. I want to be able to marshall a Haskell function that is a
first class citizen residing in a Haskell data type and pass to a C function
via FFI. Are there examples of this?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe