uri-templater-0.3.1.0: Parsing & Quasiquoting for RFC 6570 URI Templates

Safe HaskellNone
LanguageHaskell98

Network.URI.Template.Internal

Documentation

class Monoid (Builder a) => Buildable a where Source #

Minimal complete definition

build, addChar, addString

Associated Types

type Builder a Source #

Methods

build :: Builder a -> a Source #

Convert the intermediate output into the end result

addChar :: Proxy a -> Char -> Builder a Source #

Construct an appendable character representation

addString :: Proxy a -> String -> Builder a Source #

Construct an appendable string representation

Instances

Buildable ByteString Source # 
Buildable ByteString Source # 
Buildable Text Source # 
Buildable Text Source # 
Buildable String Source # 
Buildable Builder Source # 
Buildable Builder Source # 

namePrefix :: forall str a. Buildable str => Proxy str -> ProcessingOptions -> String -> TemplateValue a -> Builder str Source #

whenM :: Monoid m => Bool -> m -> m Source #

processVariable :: forall str. Buildable str => Proxy str -> Modifier -> Bool -> Variable -> WrappedValue -> Builder str Source #

processVariables :: forall str. Buildable str => Proxy str -> [(String, WrappedValue)] -> Modifier -> [Variable] -> Builder str Source #

render' :: forall str. Buildable str => UriTemplate -> [BoundValue] -> str Source #