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