Finalizers finalized

Manuel M T Chakravarty chak at cse.unsw.edu.au
Thu Jan 16 18:23:27 EST 2003


Ross Paterson <ross at soi.city.ac.uk> wrote,

> I'd also like to see the addition of
> 
> 	mallocForeignPtrArray :: Storable a => Int -> IO (ForeignPtr a)
> 
> to ForeignPtr, to save people from rolling their own.  (Maybe the realloc
> and 0 versions too?)

The reason I didn't answer to this earlier is that I wanted
to see how many people say that they support this addition.
To be honest, I never needed a function like this.  Did
anybody else?

Manuel



More information about the FFI mailing list