1 2 3 4 5 6 7 8 9 10
{-# LANGUAGE ViewPatterns, QuasiQuotes #-} module Main where import Language.Haskell.TH main = do p <- runQ [p|(id -> x)|] print p putStrLn (pprint p)