[Template-haskell] reifyDecl problem

Sean Seefried sseefried@cse.unsw.EDU.AU
Tue, 22 Jul 2003 02:10:49 +1000 (EST)


On Mon, 21 Jul 2003, Dmitry Malenko wrote:

>
> Hi, All!
>
> In test code given below trying to reifyDecl function or constant
> declaration couse GHC to panic. Both CVS HEAD and 6.0.
>
> Am I mising something in reification of function declarations or is this
> reakky a bug in GHC?

reifyDecl can only be applied to a type constructor or a class. You've
applied it to an expression. Not a very informative error message
nonetheless.

Sean