TH_spliceDecl3.hs 196 Bytes
Newer Older
chak's avatar
chak committed
1 2 3 4 5
-- test splicing of reified and renamed data declarations

module TH_spliceDecl3
where

6
import Language.Haskell.TH
chak's avatar
chak committed
7
import TH_spliceDecl3_Lib
chak's avatar
chak committed
8 9 10

data T = C

11
$(do { TyConI d <- reify ''T; rename' d})