[project @ 1999-01-27 15:01:03 by simonpj]
[ghc-hetmet.git] / ghc / tests / deriving / should_compile / 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