summaryrefslogtreecommitdiffhomepage
path: root/Types
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2016-08-07 19:18:52 -0400
committerJoey Hess <joeyh@joeyh.name>2016-08-07 19:18:52 -0400
commit730c54a40681776aaaab1b727af42559cf1592fe (patch)
treef3f2ffb6f65453d60bbbe30f5d87a2b359b657d6 /Types
parentd043057c6956b7cbc1abb3ea2d5d17bfae7abcc9 (diff)
downloadkeysafe-730c54a40681776aaaab1b727af42559cf1592fe.tar.gz
serialization for tunings
Diffstat (limited to 'Types')
-rw-r--r--Types/Cost.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Types/Cost.hs b/Types/Cost.hs
index c742848..f880bfe 100644
--- a/Types/Cost.hs
+++ b/Types/Cost.hs
@@ -11,6 +11,9 @@ data Cost op
| CombinedCost (Cost op) (Cost op)
deriving (Show)
+unknownCost :: Cost op
+unknownCost = CPUCost (Seconds 0)
+
newtype Seconds = Seconds Integer
deriving (Num)