On 2008 Jul 19, at 16:42, Galchin, Vasili wrote:
You lost me .... can you explain what an opaque aiocb would look like?
In Haskell, it's a ForeignPtr --- you can't see "inside" it except by FFI calls. Although Duncan is correct and you can use an FFI preprocessor to access the portable fields, and simply not provide access to the rest from Haskell.