diff options
author | Joey Hess <joey@kitenet.net> | 2014-04-14 13:38:35 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-04-14 13:38:35 -0400 |
commit | 190656ed99241af034e1a105eefcd5a72214fe2f (patch) | |
tree | 30310a17114b9d64b7c51a73b3af3a9cc171a56e /Utility | |
parent | 65c7bfcc55ec2243e1f4dcb5bbca54dce494bc63 (diff) | |
parent | 36969d80d4c921dea8f3b48465dd9a533f97ecae (diff) |
Merge branch 'master' into remotecontrol
Conflicts:
doc/devblog/day_152__more_ssh_connection_caching.mdwn
Diffstat (limited to 'Utility')
-rw-r--r-- | Utility/URI.hs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Utility/URI.hs b/Utility/URI.hs new file mode 100644 index 000000000..39c2f2289 --- /dev/null +++ b/Utility/URI.hs @@ -0,0 +1,18 @@ +{- Network.URI + - + - Copyright 2014 Joey Hess <joey@kitenet.net> + - + - Licensed under the GNU GPL version 3 or higher. + -} + +{-# LANGUAGE CPP #-} + +module Utility.URI where + +-- Old versions of network lacked an Ord for URI +#if ! MIN_VERSION_network(2,4,0) +import Network.URI + +instance Ord URI where + a `compare` b = show a `compare` show b +#endif |