funPtrToAddr and addrToFunPtr

Simon Marlow simonmar at microsoft.com
Mon Aug 26 05:56:19 EDT 2002


> How about adding these to Addr.lhs?
> 
>   funPtrToAddr  :: FunPtr a -> Addr
>   addrToFunPtr  :: Addr -> FunPtr a
> 
> They serve the same purpose as the existing ptrToAddr/addrToPtr

Well, we don't like to encourage the use of deprecated APIs, and I had
intended to remove it for the next major release (it's been deprecated
for well over 12 months).  Do you still need Addr for something?

Cheers,
	Simon




More information about the Glasgow-haskell-bugs mailing list