| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Text.Yate.Types
Synopsis
- data Path
- = AbsolutePath [Text]
- | RelativePath [Text]
- data Template a
- data YateValue
- class ToYate a where
Documentation
Path to traverse in a YateValue (e.g. author.address.city)
Constructors
| AbsolutePath [Text] | e.g. |
| RelativePath [Text] | e.g. |
Template which needs a given type of input data
Constructors
| Content Text | Raw content, nothing special |
| Variable Path |
|
| If Path (Template a) (Template a) |
|
| For Text Path (Template a) |
|
| In Path (Template a) |
|
| Parts [Template a] | Template parts following each other |
Data to feed to a template
Constructors
| String Text | |
| Number Double | |
| Object (HashMap Text YateValue) | |
| List (Vector YateValue) | |
| Bool Bool | |
| Null |
Instances
| ToYate Bool Source # | |
| ToYate Double Source # | |
| ToYate () Source # | |
Defined in Text.Yate.Types | |
| ToYate Text Source # | |
| ToYate Value Source # | |
| ToYate YateValue Source # | |
| ToYate a => ToYate [a] Source # | |
Defined in Text.Yate.Types | |
| ToYate a => ToYate (Maybe a) Source # | |
| ToYate a => ToYate (Vector a) Source # | |