modern-uri-0.3.4.4: Modern library for working with URIs
Copyright© 2017–present Mark Karpov
LicenseBSD 3 clause
MaintainerMark Karpov <markkarpov92@gmail.com>
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Text.URI.QQ

Description

Quasi-quoters for compile-time construction of URIs and refined text values.

All of the quasi-quoters in this module can be used in an expression context. With the ViewPatterns language extension enabled, they may also be used in a pattern context (since 0.3.2.0).

Synopsis

Documentation

uri :: QuasiQuoter Source #

Construct a URI value at compile time.

scheme :: QuasiQuoter Source #

Construct a RText Scheme value at compile time.

host :: QuasiQuoter Source #

Construct a RText Host value at compile time.

username :: QuasiQuoter Source #

Construct a RText Username value at compile time.

password :: QuasiQuoter Source #

Construct a RText Password value at compile time.

pathPiece :: QuasiQuoter Source #

Construct a RText PathPiece value at compile time.

queryKey :: QuasiQuoter Source #

Construct a RText QueryKey value at compile time.

queryValue :: QuasiQuoter Source #

Construct a 'RText QueryValue value at compile time.

fragment :: QuasiQuoter Source #

Construct a RText Fragment value at compile time.