1 2 3 4 5 6 7 8 9 10 11
{-# LANGUAGE FunctionalDependencies, PolyKinds #-} module T7384 where class Baz a b | a -> b where bar :: a -> () instance Baz Bool Bool where bar _ = () foo = bar False