summaryrefslogtreecommitdiff
path: root/tests/examples/ghc86/TH_reifyDecl2.hs
blob: 09de9bd2725ccd9a5e98e1131e2e2c5961762594 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{-# LANGUAGE TemplateHaskell #-}
module TH_reifyDecl2 where

import Language.Haskell.TH
import System.IO

$(
    do x <- reify ''Maybe
       runIO $ hPutStrLn stderr $ pprint x
       return []
 )