[Haskell-cafe] Repa array and Data.Vector.Storable.Mutable.

PICCA Frederic-Emmanuel frederic-emmanuel.picca at synchrotron-soleil.fr
Thu Apr 25 23:14:58 UTC 2019


I would like a function which allows to freeze a Mutable Vector into a Repa array. of type Array F DIM2 a
It seems to me that the the foreignPtr ownership should be transfer to the Repa Array, but I can not find a way to do this...

So what is the proper way to achieve this ?

thansk for your help.


More information about the Haskell-Cafe mailing list