TH_reifyDecl2.hs 208 Bytes
Newer Older
chak's avatar
chak committed
1 2 3 4 5 6 7 8 9 10
-- test reification of type synonym declarations

module TH_reifyDecl2
where

import Language.Haskell.THSyntax

-- type declaration
type IntList = [Int]

11
decl_IntList :: DecQ
chak's avatar
chak committed
12
decl_IntList = reifyDecl IntList