arrayfire/arrayfire-haskell

Use withArray instead of newArray + free

dmjio opened this issue · 0 comments

dmjio commented
withArray :: Storable a => [a] -> (Ptr a -> IO b) -> IO b