@hackage network-uri2.5.0.0
URI manipulation
Categories
License
BSD-3-Clause
Maintainer
johan.tibell@gmail.com
Links
Versions
Installation
Dependencies (0)
Dependents (460)
@hackage/pms-domain-service, @hackage/crawlchain, @hackage/yaml2owl, @hackage/linkcheck, @hackage/rfc, @hackage/wrecker, Show all…
This package provides an URI manipulation interface.
Version 2.5 (unlike the following versions) is a dummy package that prevents module name clashes between network-uri and network, if used together with a Cabal flag as described below.
In network-2.6 the Network.URI module was split off from the
network package into this package. If you're using the Network.URI
module you can automatically get it from the right package by adding
this to your .cabal file:
flag network-uri
description: Get Network.URI from the network-uri package
default: True
library
-- ...
if flag(network-uri)
build-depends: network-uri >= 2.6, network >= 2.6
else
build-depends: network-uri < 2.6, network < 2.6That is, get the module from either network < 2.6 or from network-uri >= 2.6.