diff --git a/Foreign/Ptr.hs b/Foreign/Ptr.hs
index f4260fd0a4918d992396ac0fb15386cdfd0797fb..125759e0638dd8a469707a413e3be5a9444eec2c 100644
--- a/Foreign/Ptr.hs
+++ b/Foreign/Ptr.hs
@@ -63,6 +63,9 @@ instance Show (Ptr a) where
        -- word2Integer :: Word# -> Integer (stolen from Word.lhs)
        word2Integer w = case word2Integer# w of
 			(# s, d #) -> J# s d
+
+instance Show (FunPtr a) where
+   showsPrec p = showsPrec p . castFunPtrToPtr
 #endif
 #endif