projects
/
ghc-hetmet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
5c095ddeef75dc778417a9dda409b71ca5cdea8d
[ghc-hetmet.git]
/
ghc
/
tests
/
deriving
/
should_compile
/
drv004.hs
1
--!!! simple example of deriving Ord and Eq simultaneously
2
--
3
module ShouldSucceed where
4
5
data Foo a b c
6
= C1 a Int
7
| C2 b Double
8
| C3 c String
9
deriving (Eq, Ord)