Request: withArrayLength

Axel Simon A.Simon at kent.ac.uk
Tue Mar 23 06:43:25 EST 2004


On Mon, Mar 22, 2004 at 07:55:51PM +0100, Sven Panne wrote:
> Once upon a time, I wrote:
> >Adrian Hey wrote:
> >
> >>[...] I think..
> >>
> >> withArrayLength :: Storable a => [a] -> (Ptr a -> Int -> IO b) -> IO b
> >>
I support that as I came across C functions that needed an array and it's 
length rather often.

Axel.



More information about the FFI mailing list