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

module TH_spliceDecl3
where

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

data T = C

chak's avatar
chak committed
11
$(do {d <- reifyDecl T; rename' d})