1 2 3 4 5 6 7 8 9
{-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE TypeApplications #-} module T15331 where import Data.Proxy $([d| f :: Proxy (Int -> Int) f = Proxy @(Int -> Int) |])