TH_reifyType1.hs 172 Bytes
Newer Older
chak's avatar
chak committed
1 2 3 4 5
-- test reification of monomorphic types

module TH_reifyType1
where

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

foo :: Int -> Int
foo x = x + 1

11 12
type_foo :: InfoQ
type_foo = reify 'foo
chak's avatar
chak committed
13