You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(.?=):: (Aeson.ToJSONv, Aeson.KeyValueekv) =>Aeson.Key->Maybev->Maybekv
k .?=Just v =Just (k Aeson..= v)
_ .?=Nothing=Nothing(.=):: (Aeson.ToJSONv, Aeson.KeyValueekv) =>Aeson.Key->v->Maybekv
k .= v =Just (k Aeson..= v)
classCalamityToJSON'awheretoPairs::Aeson.KeyValuekv=>a-> [Maybekv]
• Expecting one more argument to ‘Aeson.KeyValue kv’
Expected a constraint,
but ‘Aeson.KeyValue kv’ has kind
‘* -> Constraint’
• In the type signature:
toPairs :: Aeson.KeyValue kv => a -> [Maybe kv]
In the class declaration for ‘CalamityToJSON'’
|
87 | toPairs :: Aeson.KeyValue kv => a -> [Maybe kv]
| ^^^^^^^^^^^^^^^^^
• Expecting one more argument to ‘Aeson.KeyValue kv’
Expected a constraint,
but ‘Aeson.KeyValue kv’ has kind
‘* -> Constraint’
• In the type signature:
toPairs :: Aeson.KeyValue kv => a -> [Maybe kv]
In the class declaration for ‘CalamityToJSON'’
|
87 | toPairs :: Aeson.KeyValue kv => a -> [Maybe kv]
| ^^^^^^^^^^^^^^^^^
https://github.com/simmsb/calamity/blob/master/calamity/Calamity/Internal/Utils.hs#L186
The text was updated successfully, but these errors were encountered: