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

Test.Tasty.Patterns.Eval

Synopsis

Documentation

type Path = Seq String #

eval :: Expr -> M Value #

Evaluate an awk expression

withFields :: Seq String -> M a -> Either String a #

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 #