Basic Pattern Matching Calculi: A Fresh View on Matching Failure

12Citations
Citations of this article
5Readers
Mendeley users who have this article in their library.
Get full text

Abstract

We propose pattern matching calculi as a refinement of A-calculus that integrates mechanisms appropriate for fine-grained modelling of non-strict pattern matching. Compared with the functional rewriting strategy usually employed to define the operational semantics of pattern matching in non-strict functional programming languages like Haskell or Clean, our pattern matching calculi achieve the same effects using simpler and more local rules. The main device is to embed into expressions the separate syntactic category of matchings; the resulting language naturally encompasses pattern guards and Boolean guards as special cases. By allowing a confluent reduction system and a normalising strategy, these pattern matching calculi provide a new basis for operational semantics of non-strict programming languages and also for implementations. © Springer-Verlag 2004.

Cite

CITATION STYLE

APA

Kahl, W. (2004). Basic Pattern Matching Calculi: A Fresh View on Matching Failure. Lecture Notes in Computer Science (Including Subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2998, 276–290. https://doi.org/10.1007/978-3-540-24754-8_20

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free