Traditional accounts of pattern matching require nontrivial patterns to be headed by a constructor, but these are not expressive enough to model the compound calculus. The static pattern calculus admits a pattern that can match an arbitrary compound, and so can model generic queries. A new class of examples is introduced, led by generic mapping that generalises mapping on lists and trees. The static pattern calculus is slightly superior to compound calculus since its notation is more compact, and its treatment of match failure is more comprehensive. Also, it supports developments in subsequent chapters.
CITATION STYLE
Jay, B. (2009). Static Patterns. In Pattern Calculus (pp. 33–44). Springer Berlin Heidelberg. https://doi.org/10.1007/978-3-540-89185-7_4
Mendeley helps you to discover research relevant for your work.