Commit 9ca9712b authored by Simon Peyton Jones's avatar Simon Peyton Jones
Browse files

Update for TH instance reification

parent 131987ad
......@@ -7,7 +7,7 @@ import Language.Haskell.TH
genAny :: Q Info -> Q [Dec]
genAny decl = do { d <- decl
; case d of
ClassI (ClassD _ name _ _ decls) -> return [genAnyClass name decls]
ClassI (ClassD _ name _ _ decls) _ -> return [genAnyClass name decls]
_ -> error "genAny can be applied to classes only"
}
......
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