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 -- Alastair