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