Extra-1.42: A grab bag of modules.

Extra.URI

Description

Make URI an instance of Read and Ord, and add functions to manipulate the uriQuery.

Synopsis

Documentation

relURI :: FilePath -> [(String, String)] -> URISource

Create a relative URI with the given query.

parseURIQuery :: URI -> [(String, String)]Source

Set the port number in the URI authority, creating it if necessary.

Return the pairs in a URI's query

modifyURIQuery :: ([(String, String)] -> [(String, String)]) -> URI -> URISource

Modify a URI's query by applying a function to the pairs