ForeignPtr question (was Re: debug with GHC FFI?)