diff options
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 |