Storable is your friend. You may need to have a 2 phase marshal, where you first get back a single layer, then recur and then make than a haskell tree.


On Fri, Jan 3, 2014 at 2:41 PM, Schell Scivally <efsubenovex@gmail.com> wrote:
I'm having a hard time unmarshalling a c struct into a haskell record. Does anyone have a good link that talks about unmarshalling nested c structs? Is this common or should I just forget about it?

--
Schell Scivally
http://blog.efnx.com
http://github.com/schell
http://twitter.com/schellsan

_______________________________________________
iPhone mailing list
iPhone@haskell.org
http://www.haskell.org/mailman/listinfo/iphone