projects
/
ghc-hetmet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[project @ 1996-01-08 20:28:12 by partain]
[ghc-hetmet.git]
/
ghc
/
compiler
/
tests
/
deriving
/
drv004.hs
1
--!!! simple example of deriving Ord (and, implicitly, Eq)
2
--
3
data Foo a b
4
= C1 a Int
5
| C2 b Double
6
deriving Ord