From fd49dce7ad1d0a3f84ae267eb15939c1fa588b31 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 13 Sep 2016 22:43:34 -0400 Subject: another benchamrk --- Types/Cost.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Types') 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 -- cgit v1.2.3