bos/aeson — pull request #52 by basvandijk (2011-11-30 10:06:14+00:00)
Title: Fix for building Data.Aeson.TH with GHC-6.12.3

When quoting an expression with a higher ranked type in GHC-6.12.3 like:

```
[e|V.create :: (forall s. GHC.ST.ST s (Data.Vector.Mutable.MVector s a))
-> Data.Vector.Vector a|] `appE` ...
```

the following error is thrown:

```
Cannot match a monotype with `(forall s.
GHC.ST.ST s (Data.Vector.Mutable.MVector s a))
-> Data.Vector.Vector a'
Probable cause: `V.create' is applied to too few arguments
```

The solution is not to quote the expression but to quote the name instead and manually turn it into a variable.