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
src/Cardano/Prelude/Json/Canonical.hs:110:14: error:
• Could not deduce (Buildable e2)
arising from a use of ‘parseJSString’
from the context: ReportSchemaErrors m
bound by the instance declaration
at src/Cardano/Prelude/Json/Canonical.hs:109:10-50
The type variable ‘e2’ is ambiguous
These potential instances exist:
instance Buildable Void -- Defined in ‘Formatting.Buildable’
instance Buildable IntPtr -- Defined in ‘Formatting.Buildable’
instance Buildable WordPtr -- Defined in ‘Formatting.Buildable’
...plus 24 others
...plus 12 instances involving out-of-scope types
(use -fprint-potential-instances to see them all)
• In the expression: parseJSString (readEither . toS)
In an equation for ‘fromJSON’:
fromJSON = parseJSString (readEither . toS)
In the instance declaration for ‘FromJSON m Word64’
|
110 | fromJSON = parseJSString (readEither . toS)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
The text was updated successfully, but these errors were encountered:
protolude >= 0.3.1
has a more polymorphicwhich leads to various errors:
The text was updated successfully, but these errors were encountered: