TH_reifyType1.hs 181 Bytes
Newer Older
chak's avatar
chak committed
1 2 3 4 5 6 7 8 9 10
-- test reification of monomorphic types

module TH_reifyType1
where

import Language.Haskell.THSyntax

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

11
type_foo :: TypeQ
chak's avatar
chak committed
12 13
type_foo = reifyType foo