algebra-dag-0.1.1.1: Infrastructure for DAG-shaped relational algebra plans

Safe HaskellNone
LanguageHaskell98

Database.Algebra.Rewrite.PatternConstruction

Synopsis

Documentation

dagPatMatch :: Name -> String -> Q Exp -> Q Exp Source

Take a quoted variable with the root node on which to apply the pattern, a string description of the pattern and the body of the match and return the complete match statement. The body has to be a quoted ([| ...|]) do-block.

v :: String -> Q Exp Source

Reference a variable that is bound by a pattern in a quoted match body.