diff options
Diffstat (limited to 'Types.hs')
-rw-r--r-- | Types.hs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -10,6 +10,7 @@ module Types where import Types.Cost import qualified Data.ByteString as B import Data.String +import Control.DeepSeq -- | keysafe stores secret keys. newtype SecretKey = SecretKey B.ByteString @@ -30,7 +31,7 @@ newtype StorableObject = StorableObject { fromStorableObject :: B.ByteString } -- | An identifier for a StorableObject newtype StorableObjectIdent = StorableObjectIdent B.ByteString - deriving (Show) + deriving (Show, NFData) -- | A shard, with a known number (N of M). data Shard = Shard ShardNum StorableObject |