diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-09-13 22:43:34 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-09-13 22:43:34 -0400 |
commit | fd49dce7ad1d0a3f84ae267eb15939c1fa588b31 (patch) | |
tree | 997254794a15c097598b784e69e812075e8a583b /Types | |
parent | f6e0cf35a9e827def683cbe0bd0cfb3c708bcdc2 (diff) | |
download | keysafe-fd49dce7ad1d0a3f84ae267eb15939c1fa588b31.tar.gz |
another benchamrk
Diffstat (limited to 'Types')
-rw-r--r-- | Types/Cost.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Types/Cost.hs b/Types/Cost.hs index 4b71116..474db43 100644 --- a/Types/Cost.hs +++ b/Types/Cost.hs @@ -14,7 +14,7 @@ data Cost op deriving (Show, Eq, Ord) newtype Seconds = Seconds Rational - deriving (Num, Eq, Ord, Show) + deriving (Num, Fractional, Eq, Ord, Show) -- | How many CPU cores a single run of an operation can be divided amoung. newtype Divisibility = Divisibility Integer |