How to save a haskell data structure in C?

Malcolm Wallace Malcolm.Wallace at
Fri Jul 3 05:47:37 EDT 2009

> In C code, I want to save a complex data strcuture defined in  
> haskell and pass it back to a haskell function at certain time.

Look up "StablePtr" in Haskell's FFI spec.


More information about the Glasgow-haskell-users mailing list