mboes/haskell-src-exts-qq — pull request #4 by unthought (2012-07-27 08:24:15+00:00)
Title: FIXED: parse 'deriving' with class list

> 'deriving' clauses failed if the type class list included more than
> one type class, because the tuple constructor (,) wasn't kept
> unqualified. This fix passes the (,) constructor through
> unqualified.

> In short, the following now works:

> [dec| newtype H = H { unH :: String } deriving (Eq, Show) |]
> [dec| data X = Y | Z deriving (Eq, Show) |]

What doesn't work yet is this:

[dec| newtype H = H { unH :: (String, Integer) } deriving (Eq, Show) |]

I'll open a bug, because I haven't figured out yet how to fix that one (error is similar to tuple above, but complains about `Language.Haskell.Exts.Syntax.Boxed`, which actually exists).