Test.Tasty.Patterns.Eval
type Path = Seq String Source #
eval :: Expr -> M Value Source #
Evaluate an awk expression
withFields :: Seq String -> M a -> Either String a Source #
Run the M monad with a given list of fields
M
The field list should not include $0; it's calculated automatically.
$0
asB :: Value -> M Bool Source #