-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Quasiquoter for building URLs with ToHttpApiData types -- -- Quasiquoter for building URLs with strings interpolated using -- ToHttpApiData instances @package http-api-data-qq @version 0.1.0.0 module Web.HttpApiData.QQ.Parser data ParsedUrlPiece RawString :: String -> ParsedUrlPiece InterpolatedName :: String -> ParsedUrlPiece parseUrlPieces :: String -> Either String [ParsedUrlPiece] instance GHC.Classes.Eq Web.HttpApiData.QQ.Parser.ParsedUrlPiece instance GHC.Show.Show Web.HttpApiData.QQ.Parser.ParsedUrlPiece module Web.HttpApiData.QQ -- | A quasiquoter to build a URL by interpolating values via -- ToHttpApiData. The resulting value can be any IsString type. -- -- Currently only supports single variable names being interpolated, not -- arbitrary Haskell expressions. -- -- Usage: -- --
-- >>> [url|/foo/#{fooId}/bar|]
--
url :: QuasiQuoter