1 2 3 4 5 6
{-# LANGUAGE TypeInType #-} module InferDependency where data Proxy k (a :: k) data Proxy2 k a = P (Proxy k a)