projects
/
ghc-hetmet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
25a8b65f35573bd1a82cdb1a691bbe408a9fae66
[ghc-hetmet.git]
/
ghc
/
compiler
/
tests
/
typecheck
/
should_succeed
/
tc061.hs
1
module ShouldSucceed where
2
3
class Eq1 a where
4
deq :: a -> a -> Bool
5
6
instance (Eq1 a) => Eq1 [a] where
7
deq (a:as) (b:bs) = deq a b
8
9
instance Eq1 Int where
10
deq x y = True
11