Home
Scholarly Works
Basic Pattern Matching Calculi: a Fresh View on...
Conference

Basic Pattern Matching Calculi: a Fresh View on Matching Failure

Abstract

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.

Authors

Kahl W

Series

Lecture Notes in Computer Science

Volume

2998

Pagination

pp. 276-290

Publisher

Springer Nature

Publication Date

January 1, 2004

DOI

10.1007/978-3-540-24754-8_20

Conference proceedings

Lecture Notes in Computer Science

ISSN

0302-9743
View published work (Non-McMaster Users)

Contact the Experts team