summaryrefslogtreecommitdiff
path: root/src/Propellor/Types
diff options
context:
space:
mode:
authorFélix Sipma2017-01-18 15:47:23 +0100
committerFélix Sipma2017-01-18 15:47:23 +0100
commit979c37985bde31c57ec254a34d21f3c78d136da5 (patch)
tree0de7fb33c614cf271848292d3b71a5f3aa86b199 /src/Propellor/Types
parent66660e250203969c3dda6aae5bf1a863e34bedc7 (diff)
add Ord instance for Port
Diffstat (limited to 'src/Propellor/Types')
-rw-r--r--src/Propellor/Types/OS.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Types/OS.hs b/src/Propellor/Types/OS.hs
index b569a6e8..43371af1 100644
--- a/src/Propellor/Types/OS.hs
+++ b/src/Propellor/Types/OS.hs
@@ -143,7 +143,7 @@ userGroup :: User -> Group
userGroup (User u) = Group u
newtype Port = Port Int
- deriving (Eq, Show)
+ deriving (Eq, Ord, Show)
fromPort :: Port -> String
fromPort (Port p) = show p