Sciweavers

FLOPS
2004
Springer

Basic Pattern Matching Calculi: a Fresh View on Matching Failure

14 years 4 months ago
Basic Pattern Matching Calculi: a Fresh View on Matching Failure
We propose pattern matching calculi as a refinement of λ-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.
Wolfram Kahl
Added 01 Jul 2010
Updated 01 Jul 2010
Type Conference
Year 2004
Where FLOPS
Authors Wolfram Kahl
Comments (0)