projects
/
ghc-hetmet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[project @ 1997-07-31 00:05:10 by sof]
[ghc-hetmet.git]
/
ghc
/
compiler
/
tests
/
deriving
/
drv006.hs
1
--!!! simple examples of deriving Ix
2
--
3
module ShouldSucceed where
4
import Ix
5
6
data Foo = Foo1 | Foo2 | Foo3 | Foo4 | Foo5 | Foo6 | Foo7 | Foo8
7
deriving (Eq, Ord, Ix, Show)
8
9
data Bar a b = MkBar a Int b Integer a