b21d9f22fb6def117c37f6743e5b023fc564ab62
[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