Improved the Show instance for Unknown
authorPepe Iborra <mnislaih@gmail.com>
Sun, 13 Aug 2006 11:18:16 +0000 (11:18 +0000)
committerPepe Iborra <mnislaih@gmail.com>
Sun, 13 Aug 2006 11:18:16 +0000 (11:18 +0000)
GHC/Show.lhs

index 7735ec6..06fddd8 100644 (file)
@@ -421,5 +421,6 @@ itos n# cs
 
 \begin{code}
 instance Show Unknown where
- show _ = "This is an untyped object. You can use seq to force its evaluation and then :print to recover its type"
+ show _ = "This is an untyped, unevaluated computation. You can use seq to force its evaluation and then :print to recover its type"
+ showList _ = ("This is an untyped, unevaluated computation. You can use seq to force its evaluation and then :print to recover its type" ++)
 \end{code}
\ No newline at end of file