1 2 3 4 5 6
{-# LANGUAGE TypeFamilies #-} module ShouldCompile where plus :: (a ~ (Int -> Int)) => Int -> a plus x y = x + y