The latest version of dormouse-uri is 0.3.0.0-0.

dormouse-uri

Version 0.1.0.0 revision 0 uploaded by philcurzon.

Package meta

Synopsis
Library for type-safe representations of Uri/Urls
Description

Dormouse-Uri provides type safe handling of Uris and Urls.

Uri sytax is well defined according to RFC 3986, Dormouse-Uri parses and encodes Uris according to the syntax defined in this document.

We define Url as an absolute URI associated with web resources, the current version of Dormouse-Uri restricts Urls to the http and https schemes.

Dormouse-Uri has the following features:

  • The Uri and Url data types use Data.Text internally, this allows you to freely include percent-decoded characters which will be properly rendered when the Url/Uri is encoded.

  • Quasiquoters to allow safe construction of Uri/Urls from string literals.

  • DataKinds allow Urls to be restricted to the http or https schemes are the type level.

  • A UrlBuilder syntax to allow type-safe construction/concatenation of Urls from their components, e.g. path and query parameters.

Please see https://dormouse.io for full documentation.

Author
Phil Curzon
Bug reports
https://github.com/theinnerlight/dormouse/issues
Category
Web
Copyright
2020-2021 Phil Curzon
Homepage
https://dormouse.io/uri.html
Maintainer
phil@novelfs.org
Package URL
n/a
Stability
n/a

Components