[project @ 1997-05-26 05:58:06 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