{-# LANGUAGE RankNTypes, ScopedTypeVariables #-} module ShouldCompile where f v = (\ (x :: forall a. a->a) -> True) id -- 'c'