1 2 3 4 5 6 7 8
{-# LANGUAGE TemplateHaskell #-} module Main where $([d| instance Show (a -> b) where showsPrec _ _ = showString "<function>" |]) main = print id