projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aba63c7
)
[project @ 1997-06-20 09:09:38 by sof]
author
sof
<unknown>
Fri, 20 Jun 1997 09:09:38 +0000
(09:09 +0000)
committer
sof
<unknown>
Fri, 20 Jun 1997 09:09:38 +0000
(09:09 +0000)
Added Eval (a->b) instance
ghc/lib/ghc/PrelBase.lhs
patch
|
blob
|
history
diff --git
a/ghc/lib/ghc/PrelBase.lhs
b/ghc/lib/ghc/PrelBase.lhs
index
97ac8c3
..
aa8ee6f
100644
(file)
--- a/
ghc/lib/ghc/PrelBase.lhs
+++ b/
ghc/lib/ghc/PrelBase.lhs
@@
-632,6
+632,8
@@
data Integer = J# Int# Int# ByteArray#
%*********************************************************
\begin{code}
+instance Eval (a -> b)
+
instance Show (a -> b) where
showsPrec p f = showString "<<function>>"
showList ls = showList__ (showsPrec 0) ls