[Template-haskell] not an instance of Lift?

WANG Meng wangmeng at comp.nus.edu.sg
Tue Apr 5 00:19:37 EDT 2005


Hi All,

When I am trying to define the following program:

test x = [|x|]
y = test (Just True)

The compiler will complain that Maybe Bool is not an instance of Lift.

Is there any way to resolve this? Can I add instances to the class Lift?


 -W-M-
  @ @
   |
  \_/


More information about the template-haskell mailing list