remove support for network older than 2.4

debian stable has 2.4
This commit is contained in:
Joey Hess 2016-02-23 20:35:32 -04:00
parent 123f823ef7
commit 9519af25f3
Failed to extract signature
3 changed files with 1 additions and 20 deletions

View file

@ -1,18 +0,0 @@
{- Network.URI
-
- Copyright 2014 Joey Hess <id@joeyh.name>
-
- License: BSD-2-clause
-}
{-# 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