1 2 3 4 5 6 7 8
{-# OPTIONS_GHC -XTypeFamilies #-} module ShouldCompile where type family T a f :: T a -> Int f x = x `seq` 3