1 2 3 4 5 6 7
{-# LANGUAGE PolyKinds #-} module T17841 where data Proxy a = Proxy class Foo (t :: k) where foo :: Proxy (a :: t)