| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Network.URI.Template
Documentation
uri :: QuasiQuoter Source
render :: forall a. UriTemplate -> [(String, TemplateValue a)] -> String Source
type UriTemplate = [TemplateSegment] Source
data TemplateSegment Source
Instances
Constructors
| Simple | |
| Reserved | |
| Fragment | |
| Label | |
| PathSegment | |
| PathParameter | |
| Query | |
| QueryContinuation | |
| Alias |
data ValueModifier Source
Instances
data TemplateValue a where Source
Constructors
class ToTemplateValue a e | a -> e where Source
Methods
toTemplateValue :: a -> TemplateValue e Source