diff options
author | Joey Hess <joey@kitenet.net> | 2014-04-23 14:04:09 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-04-23 14:04:09 -0400 |
commit | e0aff931023a6c3f7a06caaa5dfa1aad2da3889d (patch) | |
tree | f1960ca033d5196da417e7c4d1f0e579bdc21e46 /Utility/URI.hs | |
parent | 232fce59fabc4243c9b9d7944589986c5cc73f16 (diff) | |
download | git-repair-e0aff931023a6c3f7a06caaa5dfa1aad2da3889d.tar.gz |
merge from git-annex
Diffstat (limited to 'Utility/URI.hs')
-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 0000000..39c2f22 --- /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 |