tasty-1.4.1: Modern and extensible testing framework
Safe HaskellSafe-Inferred
LanguageHaskell2010

Test.Tasty.Patterns.Eval

Synopsis

Documentation

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

The field list should not include $0; it's calculated automatically.

asB :: Value -> M Bool Source #