blob: e29b2662eacbc0c2d853a6f48364136f5e46fb8b (
plain) (
tree)
|
|
{-# LANGUAGE GADTs, KindSignatures #-}
module Bug85 where
-- explicitly stated non-trivial kind
data Foo :: (* -> *) -> * -> * where
Bar :: f x -> Foo f (f x)
-- Just kind * but explicitly written
data Baz :: * where
Baz' :: Baz
-- No kind signature written down at all
data Qux where
Quux :: Qux
|