| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Network.URI.Template.Internal
Documentation
class Monoid (Builder a) => Buildable a where #
Methods
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 # | |
Defined in Network.URI.Template.Internal Associated Types type Builder ByteString :: * # Methods build :: Builder ByteString -> ByteString # addChar :: Proxy ByteString -> Char -> Builder ByteString # addString :: Proxy ByteString -> String -> Builder ByteString # | |
| Buildable ByteString # | |
Defined in Network.URI.Template.Internal Associated Types type Builder ByteString :: * # Methods build :: Builder ByteString -> ByteString # addChar :: Proxy ByteString -> Char -> Builder ByteString # addString :: Proxy ByteString -> String -> Builder ByteString # | |
| Buildable Text # | |
| Buildable Text # | |
| Buildable Builder # | |
| Buildable Builder # | |
Constructors
| Unreserved | |
| UnreservedOrReserved |
allowEncoder :: Allow -> String -> String #
data ProcessingOptions #
Constructors
| ProcessingOptions | |
Fields | |
type BoundValue = (String, WrappedValue) #
options :: Modifier -> ProcessingOptions #
templateValueIsEmpty :: TemplateValue a -> Bool #
namePrefix :: forall str a. Buildable str => Proxy str -> ProcessingOptions -> String -> TemplateValue a -> Builder str #
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 #