Commit bf75f422 authored by Ben Gamari's avatar Ben Gamari 🐢
Browse files

Add NFData instances

parent 850863e5
......@@ -111,3 +111,4 @@ fixAbsolutePathOnWindows path = do
-- Instances for storing in the Shake database
instance Binary Builder
instance Hashable Builder
instance NFData Builder
......@@ -49,3 +49,4 @@ instance Ord Package where
instance Binary Package
instance Hashable Package where
hashWithSalt salt = hashWithSalt salt . show
instance NFData Package
......@@ -13,3 +13,4 @@ instance Show Stage where
-- Instances for storing in the Shake database
instance Binary Stage
instance Hashable Stage
instance NFData Stage
......@@ -169,3 +169,6 @@ instance Binary Way where
instance Hashable Way where
hashWithSalt salt = hashWithSalt salt . show
instance NFData Way where
rnf (Way s) = s `seq` ()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment