Incompatibility with `aeson-2.2`
lehins opened this issue · comments
src/HaskellWorks/Data/Aeson.hs:33:10: error:
• Expecting one more argument to ‘KeyValue a’
Expected a constraint, but ‘KeyValue a’ has kind ‘* -> Constraint’
• In the instance declaration for ‘KeyValue (JsonEndo a)’
|
33 | instance KeyValue a => KeyValue (JsonEndo a) where
| ^^^^^^^^^^
src/HaskellWorks/Data/Aeson.hs:33:24: error:
• Expecting one more argument to ‘KeyValue (JsonEndo a)’
Expected a constraint,
but ‘KeyValue (JsonEndo a)’ has kind ‘* -> Constraint’
• In the instance declaration for ‘KeyValue (JsonEndo a)’
|
33 | instance KeyValue a => KeyValue (JsonEndo a) where
| ^^^^^^^^^^^^^^^^^^^^^
src/HaskellWorks/Data/Aeson.hs:84:23: error:
• Expecting one more argument to ‘KeyValue kv’
Expected a constraint, but ‘KeyValue kv’ has kind ‘* -> Constraint’
• In the type signature:
toJsonKeyValues :: (KeyValue kv, Monoid kv) => a -> [kv]
In the class declaration for ‘ToJsonKeyValues’
|
84 | toJsonKeyValues :: (KeyValue kv, Monoid kv) => a -> [kv]