network-uri-static: A small utility to declare type-safe static URIs

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain]

This library helps you declare type-safe static URIs by parsing URIs at compile time.

You can write static URIs using typed template haskell:

url :: URI
url = $$(staticURI "http://www.google.com/")

or using QuasiQuote:

url :: URI
url = [uri|http://www.google.com/|]

When you pass a malformed URI to these expressions, they emit an error at compile time.

Properties

Versions0.1.0.0, 0.1.1.0, 0.1.1.0, 0.1.2.0
Change logCHANGELOG.md
Dependenciesbase (>=4.7 && <5), network-uri (>=2.5 && <3), template-haskell (>=2.9 && <3) [details]
LicenseMIT
Copyright2015 Satoshi Nakamura
AuthorSatoshi Nakamura
Maintainersnak@snak.org
CategoryNetwork
Home pagehttp://github.com/snakamura/network-uri-static
Bug trackerhttps://github.com/snakamura/network-uri-static/issues
Source repositoryhead: git clone git://github.com/snakamura/network-uri-static.git
UploadedMon Oct 22 05:26:24 UTC 2018 by snak

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees