The pattern calculus

36Citations
Citations of this article
25Readers
Mendeley users who have this article in their library.

Abstract

There is a significant class of operations such as mapping that are common to all data structures. The goal of generic programming is to support these operations on arbitrary data types without having to recode for each new type. The pattern calculus and combinatory type system reach this goal by representing each data structure as a combination of names and a finite set of constructors. These can be used to define generic functions by pattern-matching programs in which each pattern has a different type. Evaluation is type-free. Polymorphism is captured by quantifying over type variables that represent unknown structures. A practical type inference algorithm is provided. © 2004 ACM.

Cite

CITATION STYLE

APA

Jay, C. B. (2004). The pattern calculus. ACM Transactions on Programming Languages and Systems, 26(6), 911–937. https://doi.org/10.1145/1034774.1034775

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