summaryrefslogtreecommitdiff
path: root/src/Propellor/Types/ConfigurableValue.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Propellor/Types/ConfigurableValue.hs')
-rw-r--r--src/Propellor/Types/ConfigurableValue.hs11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Propellor/Types/ConfigurableValue.hs b/src/Propellor/Types/ConfigurableValue.hs
index 10a608f8..6235bee9 100644
--- a/src/Propellor/Types/ConfigurableValue.hs
+++ b/src/Propellor/Types/ConfigurableValue.hs
@@ -2,6 +2,8 @@
module Propellor.Types.ConfigurableValue where
+import Data.Word
+
-- | A value that can be used in a configuration file, or otherwise used to
-- configure a program.
--
@@ -30,3 +32,12 @@ instance ConfigurableValue Float where
instance ConfigurableValue Double where
val = show
+
+instance ConfigurableValue Word8 where
+ val = show
+
+instance ConfigurableValue Word16 where
+ val = show
+
+instance ConfigurableValue Word32 where
+ val = show