When build extensible (0.8.3) with hashable-1.4.0.0, occur error:
[17 of 19] Compiling Data.Extensible.Dictionary
/path/to/extensible/src/Data/Extensible/Dictionary.hs:108:10: error:
• Could not deduce (Forall (Instance1 Eq h) xs)
arising from the superclasses of an instance declaration
from the context: WrapForall Hashable h xs
bound by the instance declaration
at src/Data/Extensible/Dictionary.hs:108:10-55
• In the instance declaration for ‘Hashable (xs :& h)’
|
108 | instance WrapForall Hashable h xs => Hashable (xs :& h) where
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/path/to/extensible/src/Data/Extensible/Dictionary.hs:264:10: error:
• Could not deduce (Forall (Instance1 Eq h) xs)
arising from the superclasses of an instance declaration
from the context: WrapForall Hashable h xs
bound by the instance declaration
at src/Data/Extensible/Dictionary.hs:264:10-55
• In the instance declaration for ‘Hashable (xs :/ h)’
|
264 | instance WrapForall Hashable h xs => Hashable (xs :/ h) where
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Completed 48 action(s).
When build extensible (0.8.3) with hashable-1.4.0.0, occur error:
hashable is changed to add
Eq
constraint forHashable
class at version 1.4.0.0 https://github.com/haskell-unordered-containers/hashable/pull/202 So, I think need change to: