Commit 8453eeb2 authored by chak's avatar chak
Browse files

[project @ 2002-11-09 08:46:06 by chak]

Seems (in DsMeta) as if reifyDecl should do class delcarations, too, but it
currently dies when applied to a class name.
parent a78096d4
-- test reification of class declarations
module TH_reifyDecl3
import Language.Haskell.THSyntax
-- simple class
class C a where
m :: a -> Int
decl_C :: Decl
decl_C = reifyDecl C
......@@ -9,6 +9,7 @@ test('TH_repE1', normal, compile, [''])
test('TH_reifyDecl1', normal, compile, [''])
test('TH_reifyDecl2', normal, compile, [''])
test('TH_reifyDecl3', normal, compile, [''])
test('TH_reifyDecl4', normal, compile, [''])
test('TH_reifyType1', normal, compile, [''])
test('TH_reifyType2', normal, compile, [''])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment