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
{{ message }}
This repository was archived by the owner on Feb 3, 2022. It is now read-only.
Fix issue #288: Upgrade hptool for shake version 0.16
Most of the changes were to derive some instances that allows
us to place nicely with shake. The 0.16-required changes
were to define some type instances in our "oracle".
* hptool/hptool.cabal
* need shake >=0.16 now
* hptool/src/Config.hs
* Previously, all of the oracle data types were smashed
into strings (if they were not already), but shake allows
them to be any type, so by deriving some instances in
Types.hs for the non-string data items which are in the
oracle, we can simplify some of this module.
* For each type of item stored, we did need to add a type
instance of RuleResult (part of the changes needed for
shake 0.16).
* Provide an Eq instance for the Release structure, to
account for the lists it contains.
* Some lines were shuffled to restore the grouping of
newtype's with the function that uses each.
* hptool/src/Types.hs
* Derive instances of Eq, Generic, Hashable, Binary, NFData
for the data structures (and any nested structures) which
we store in the oracle mechanism.
0 commit comments