Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Expr
- parser :: Parser Expr
- data Context = Context {}
- emptyContext :: Context
- getAt :: Value -> [Either Int Text] -> Either Text Value
- normalize :: Vector (Either Int Text) -> [Either Int Text] -> [Either Int Text]
- eval :: Context -> Value -> Expr -> Either Text Value
- convertPath :: Text -> [Either Int Text]
- convert :: Context -> Value -> Text -> Either Text Value
- parseText :: Parser a -> Text -> Either Text a
- resolveWith :: Context -> Value -> Either Text Value
- resolve :: Value -> Value
- parseAppConfig :: Value -> Either Text AppConfig
Documentation
None | |
Ref Text | reference syntax: ${ref:...} |
Var Text | variable syntax: ${var:...} |
Op Text Expr Expr | expr operator: +, -, *, / |
Constant Value | constants (string or number or null) |
Symbol Text | token symbol |
App Expr [Expr] | function application ($func(a,b,c)) |