Skip to content

Commit

Permalink
Fix CI maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
jappeace committed Sep 22, 2021
1 parent dc40252 commit 43086ec
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Data/HashMap/Internal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,12 @@ instance NF.NFData2 Leaf where
--
-- to convert negatives use in ghci:
-- >>> fromInteger (-3750763034362895579) :: Word64

#if MIN_VERSION_hashable(1,3,1)
type DefaultSalt = 14695981039346656037 -- fromInteger (-3750763034362895579) :: Word64
#else
type DefaultSalt = 15868100553162883236 -- old values https://github.com/haskell-unordered-containers/hashable/blame/ade7f97d1c59e9cfbad49b6ed130b90805311758/Data/Hashable/Class.hs#L202
-- type DefaultSalt = 14695981039346656037 -- fromInteger (-3750763034362895579) :: Word64
#endif

-- | A map from keys to values. A map cannot contain duplicate keys;
-- each key can map to at most one value.
Expand Down

0 comments on commit 43086ec

Please sign in to comment.