RE: funPtrToAddr and addrToFunPtr

2002-08-27 Thread Simon Marlow
> > 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? > > Old Greencard interfaces use it. In fact, I don't think we've added

Re: funPtrToAddr and addrToFunPtr

2002-08-26 Thread Alastair Reid
> 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? Old Greencard interfaces use it. In fact, I don't think we've added Ptr and FunP

RE: funPtrToAddr and addrToFunPtr

2002-08-26 Thread Simon Marlow
> 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