diff options
| author | Félix Sipma <felix.sipma@no-log.org> | 2017-01-18 15:47:23 +0100 |
|---|---|---|
| committer | Félix Sipma <felix.sipma@no-log.org> | 2017-01-18 15:47:23 +0100 |
| commit | 979c37985bde31c57ec254a34d21f3c78d136da5 (patch) | |
| tree | 0de7fb33c614cf271848292d3b71a5f3aa86b199 /src/Propellor | |
| parent | 66660e250203969c3dda6aae5bf1a863e34bedc7 (diff) | |
add Ord instance for Port
Diffstat (limited to 'src/Propellor')
| -rw-r--r-- | src/Propellor/Types/OS.hs | 2 |
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 |
