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:
081601b
)
[project @ 1999-11-02 10:31:54 by simonpj]
author
simonpj
<unknown>
Tue, 2 Nov 1999 10:31:54 +0000
(10:31 +0000)
committer
simonpj
<unknown>
Tue, 2 Nov 1999 10:31:54 +0000
(10:31 +0000)
Fix bug in instance Dynamic (Either a b)
ghc/lib/exts/Dynamic.lhs
patch
|
blob
|
history
diff --git
a/ghc/lib/exts/Dynamic.lhs
b/ghc/lib/exts/Dynamic.lhs
index
f83b0b5
..
69d160f
100644
(file)
--- a/
ghc/lib/exts/Dynamic.lhs
+++ b/
ghc/lib/exts/Dynamic.lhs
@@
-269,7
+269,7
@@
instance (Typeable a, Typeable b) => Typeable (Either a b) where
where
getL :: Either a b -> a
getL = undefined
- getR :: Either a b -> a
+ getR :: Either a b -> b
getR = undefined
instance (Typeable a, Typeable b) => Typeable (a -> b) where