uri-bytestring-0.3.0.0: Haskell URI parsing as ByteStrings

Safe HaskellNone
LanguageHaskell2010

URI.ByteString.QQ

Synopsis

Documentation

uri :: QuasiQuoter Source #

Allows uri literals via QuasiQuotes language extension.

>>> {-# LANGUAGE QuasiQuotes #-}
>>> stackage :: URI
>>> stackage = [uri|http://stackage.org|]

relativeRef :: QuasiQuoter Source #

Allows relative ref literals via QuasiQuotes language extension.

>>> {-# LANGUAGE QuasiQuotes #-}
>>> ref :: RelativeRef
>>> ref = [relativeRef|/foo?bar=baz#quux|]