TH_reifyDecl4.hs 190 Bytes
Newer Older
chak's avatar
chak committed
1 2
-- test reification of class declarations

chak's avatar
chak committed
3
module TH_reifyDecl4
chak's avatar
chak committed
4 5 6 7 8 9 10 11
where

import Language.Haskell.THSyntax

-- simple class
class C a where
  m :: a -> Int

12
decl_C :: DecQ
chak's avatar
chak committed
13
decl_C = reifyDecl C