The network-uri-static package

[ Tags: library, mit, network ] [ Propose Tags ]

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

Versions 0.1.0.0
Dependencies base (>=4.7 && <5), network-uri (>=2.5 && <3), template-haskell (>=2.9 && <3) [details]
License MIT
Copyright 2015 Satoshi Nakamura
Author Satoshi Nakamura
Maintainer snak@snak.org
Category Network
Home page http://github.com/snakamura/network-uri-static
Bug tracker https://github.com/snakamura/network-uri-static/issues
Source repository head: git clone git://github.com/snakamura/network-uri-static.git
Uploaded Thu May 21 14:56:42 UTC 2015 by snak
Distributions NixOS:0.1.0.0
Downloads 177 total (5 in the last 30 days)
Rating 0.0 (0 ratings) [clear rating]
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-05-23 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees