projects
/
haskell-directory.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1632c8a
)
Improved the Show instance for Unknown
author
Pepe Iborra
<mnislaih@gmail.com>
Sun, 13 Aug 2006 11:18:16 +0000
(11:18 +0000)
committer
Pepe Iborra
<mnislaih@gmail.com>
Sun, 13 Aug 2006 11:18:16 +0000
(11:18 +0000)
GHC/Show.lhs
patch
|
blob
|
history
diff --git
a/GHC/Show.lhs
b/GHC/Show.lhs
index
7735ec6
..
06fddd8
100644
(file)
--- a/
GHC/Show.lhs
+++ b/
GHC/Show.lhs
@@
-421,5
+421,6
@@
itos n# cs
\begin{code}
instance Show Unknown where
\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
\end{code}
\ No newline at end of file