Safe Haskell | None |
---|---|
Language | Haskell98 |
Text.Strapped.Types
Documentation
data Expression Source
Constructors
LookupExpression String | |
LiteralExpression Literal | |
ListExpression [ParsedExpression] | |
Multipart [ParsedExpression] |
Instances
class Renderable a where Source
Methods
renderOutput :: RenderConfig -> a -> Output Source
Instances
Renderable Builder | |
Renderable Literal |
Constructors
forall a . Renderable a => RenderVal a | |
List [Input m] | |
Func (Literal -> ExceptT StrapError m Literal) | |
LitVal Literal |
Constructors
forall a . (Typeable a, Renderable a) => LitDyn a | |
LitText Text | |
LitSafe Text | |
LitInteger Integer | |
LitDouble Double | |
LitBuilder Builder | |
LitList ![Literal] | |
LitBool Bool | |
LitEmpty |
data StrapError Source
Constructors
StrapError String SourcePos | |
InputNotFound String SourcePos | |
TemplateNotFound String SourcePos |
Instances
type InputBucket m = [Map String (Input m)] Source
data RenderConfig Source
Constructors
RenderConfig | |
Fields
|