Abstract
Haskell is a functional programming language with nominally non-strict semantics, implying that evaluation of a Haskell expression proceeds by demand-driven reduction. However, Haskell also provides pattern matching on arguments of functions, in bf let expressions and in the match clauses of bf case expressions. Pattern-matching requires data-driven reduction to the extent necessary to evaluate a pattern match or to bind variables introduced in a pattern. In this paper we provide both an abstract semantics and a logical characterization of pattern-matching in Haskell and the reduction order that it entails.
| Original language | English |
|---|---|
| Title of host publication | 2nd International Workshop on Reduction Strategies in Rewriting and Programming (WRS02) |
| Place of Publication | Copenhagen, Denmark |
| State | Published - 2002 |
| Externally published | Yes |
Fingerprint
Dive into the research topics of 'Pattern-driven Reduction in Haskell'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver