2014-04-14 17:37:12 +00:00
|
|
|
{- Network.URI
|
|
|
|
-
|
2015-01-21 16:50:09 +00:00
|
|
|
- Copyright 2014 Joey Hess <id@joeyh.name>
|
2014-04-14 17:37:12 +00:00
|
|
|
-
|
2014-05-10 14:01:27 +00:00
|
|
|
- License: BSD-2-clause
|
2014-04-14 17:37:12 +00:00
|
|
|
-}
|
|
|
|
|
|
|
|
{-# LANGUAGE CPP #-}
|
|
|
|
|
|
|
|
module Utility.URI where
|
2015-06-11 20:43:59 +00:00
|
|
|
|
|
|
|
-- 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
|