ghc doesn't seem to be unifying deriveJSON (String-String)
parameter with id :: a - a.
examples/TemplateHaskell.hs:22:14:
Couldn't match expected type `Data.Aeson.TH.Options'
with actual type `a0 - a0'
In the first argument of `deriveJSON', namely `id'
In the
On 26 January 2013 14:47, j...@stuttard.org wrote:
ghc doesn't seem to be unifying deriveJSON (String-String)
parameter with id :: a - a.
It seems you're using aeson HEAD. Note that the deriveJSON from the
released aeson-0.6.1.0 as the type:
deriveJSON :: (String - String) - Name - Q [Dec]
On 26 January 2013 15:20, Bas van Dijk v.dijk@gmail.com wrote:
But in aeson-HEAD it has the following type:
deriveJSON :: Options - Name - Q [Dec]
Note that I'm currently working on extending the encoding Options record:
* I added a constructorNameModifier :: String - String which is
Quoting Bas van Dijk v.dijk@gmail.com:
On 26 January 2013 14:47, j...@stuttard.org wrote:
ghc doesn't seem to be unifying deriveJSON (String-String)
parameter with id :: a - a.
It seems you're using aeson HEAD. Note that the deriveJSON from the
released aeson-0.6.1.0 as the type:
Quoting Bas van Dijk v.dijk@gmail.com:
On 26 January 2013 15:20, Bas van Dijk v.dijk@gmail.com wrote:
But in aeson-HEAD it has the following type:
deriveJSON :: Options - Name - Q [Dec]
Note that I'm currently working on extending the encoding Options record:
* I added a