On 01/07/2009 14:36 , "Neal Alexander" <wqeqwe...@hotmail.com> wrote:

> Bueno, Denis wrote:
>> Oh, do you mean by actually calling memcpy via ffi?
> 
> http://www.haskell.org/ghc/docs/latest/html/libraries/base/Foreign-Marshal-Uti
> ls.html

Ah, thanks.  Is there a way to simply "cast" an IOUArray Int Int64 into
something like a Ptr Int64, or will I need to change my code to allocate the
arrays differently (using something in Foreign.*)?

I hoogle'd functions "IOUArray a b -> Ptr b", but couldn't find anything.
                              Denis


_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to