@@ -24,10 +24,6 @@ import Prelude.Chars
2424class Show a where
2525 show : a -> String
2626
27−instance Show Nat where
28− show O = "O"
29− show (S k) = "s" ++ show k
30−
3127instance Show Int where
3228 show = prim__toStrInt
3329
@@ -43,6 +39,9 @@ instance Show Char where
4339instance Show String where
4440 show = id
4541
42+instance Show Nat where
43+ show n = show (the Integer (cast n))
44+
4645instance Show Bool where
4746 show True = "True"
4847 show False = "False"