extensible-uri-0.1: Generic URIs that can be specialised to specific schemes

Data.URI

Description

Generic URI with no assumptions of any particular schemes.

Synopsis

Documentation

data Scheme Source

Scheme names consist of a non-empty sequence of characters beginning with a letter and followed by any combination of letters, digits, plus ('+'), period ('.'), or hyphen ('-'). Comparison of Schemes are always case-insensitive. See: http://tools.ietf.org/html/rfc3986#section-3.1

Instances

Eq Scheme 
Ord Scheme 
Show Scheme

For testing purpose only.

Typeable Scheme 
IsString Scheme 
Hashable Scheme 
FoldCase Scheme 
Semigroup Scheme

Schemes form a Semigroup with string concatenation as the operation. Since Schemes can not be empty, they don't form a Monoid.

CoArbitrary Scheme 
Arbitrary Scheme 

data UserInfo Source

The userinfo subcomponent may consist of a user name and, optionally, scheme-specific information about how to gain authorization to access the resource. See: http://tools.ietf.org/html/rfc3986#section-3.2.1

Instances

Eq UserInfo 
Ord UserInfo 
Show UserInfo

For testing purpose only.

Typeable UserInfo 
IsString UserInfo 
Monoid UserInfo 
Hashable UserInfo 
Semigroup UserInfo 
CoArbitrary UserInfo 
Arbitrary UserInfo