Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module contains the Relapse string expressions.
Synopsis
- mkHasPrefixExpr :: [AnyExpr] -> Either String AnyExpr
- hasPrefixExpr :: Expr Text -> Expr Text -> Expr Bool
- mkHasSuffixExpr :: [AnyExpr] -> Either String AnyExpr
- hasSuffixExpr :: Expr Text -> Expr Text -> Expr Bool
- mkRegexExpr :: [AnyExpr] -> Either String AnyExpr
- regexExpr :: Expr Text -> Expr Text -> Expr Bool
- mkToLowerExpr :: [AnyExpr] -> Either String AnyExpr
- toLowerExpr :: Expr Text -> Expr Text
- mkToUpperExpr :: [AnyExpr] -> Either String AnyExpr
- toUpperExpr :: Expr Text -> Expr Text
Documentation
mkHasPrefixExpr :: [AnyExpr] -> Either String AnyExpr Source #
mkHasPrefixExpr dynamically creates a hasPrefix expression.
hasPrefixExpr :: Expr Text -> Expr Text -> Expr Bool Source #
hasPrefixExpr creates a hasPrefix expression that returns true if the second is a prefix of the first.
mkHasSuffixExpr :: [AnyExpr] -> Either String AnyExpr Source #
mkHasSuffixExpr dynamically creates a hasSuffix expression.
hasSuffixExpr :: Expr Text -> Expr Text -> Expr Bool Source #
hasSuffixExpr creates a hasSuffix expression that returns true if the second is a suffix of the first.
mkRegexExpr :: [AnyExpr] -> Either String AnyExpr Source #
mkRegexExpr dynamically creates a regex expression.
regexExpr :: Expr Text -> Expr Text -> Expr Bool Source #
regexExpr creates a regex expression that returns true if the first expression matches the second string.
mkToLowerExpr :: [AnyExpr] -> Either String AnyExpr Source #
mkToLowerExpr dynamically creates a toLower expression.
toLowerExpr :: Expr Text -> Expr Text Source #
toLowerExpr creates a toLower expression that converts the input string to a lowercase string.