1 2 3 4 5 6 7 8 9 10
{-# LANGUAGE GADTs, TypeInType, RankNTypes #-} module T11554 where import Data.Kind data P (x :: k) = Q data A :: Type where B :: forall (a :: A). P a -> A