Folks, http://www.haskell.org/hdirect/ffi-6.html
"GHC's ByteArray and MutableByteArray primitive types are (im)mutable chunks of memory allocated on the Haskell heap, and pointers to these can be passed to foreign imported external functions provided they are marked as unsafe."
Does this mean I can pass a MutableByteArray as an argument to Storable's peek and poke?
Thanks, Joel -- http://wagerlabs.com/idealab _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe