1 2 3 4 5 6 7 8
{-# LANGUAGE PolyKinds, GADTs #-} module T13988 where import Data.Kind data Foo (a :: k) where MkFoo :: (k ~ Type) => Foo (a :: k)