Skip to main navigation Skip to search Skip to main content

Pattern-driven Reduction in Haskell

  • William Harrison
  • , Richard Kieburtz

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

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 languageEnglish
Title of host publication2nd International Workshop on Reduction Strategies in Rewriting and Programming (WRS02)
Place of PublicationCopenhagen, Denmark
StatePublished - 2002
Externally publishedYes

Fingerprint

Dive into the research topics of 'Pattern-driven Reduction in Haskell'. Together they form a unique fingerprint.

Cite this