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.


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 "")

or using QuasiQuote:

url :: URI
url = [uri||]

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


Dependenciesbase (>=4.7 && <5), network-uri (>=2.5 && <3), template-haskell (>=2.9 && <3) [details]
Copyright2015 Satoshi Nakamura
AuthorSatoshi Nakamura
Home page
Bug tracker
Source repositoryhead: git clone git://
UploadedMon Oct 22 05:26:24 UTC 2018 by snak




Maintainers' corner

For package maintainers and hackage trustees