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 #

Minimal complete definition

build, addChar, addString

Associated Types

type Builder a #

Methods

build :: Builder a -> a #

Convert the intermediate output into the end result

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

Construct an appendable character representation

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

Construct an appendable string representation

Instances

Buildable String # 
Buildable ByteString # 
Buildable ByteString # 
Buildable Text # 

Associated Types

type Builder Text :: * #

Buildable Text # 

Associated Types

type Builder Text :: * #

Buildable Builder # 
Buildable Builder # 

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

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

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

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

render :: Buildable str => UriTemplate -> [BoundValue] -> str #

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