Authors
Johan Jeuring, Patrik Jansson
Publication date
1996/8/26
Book
International School on Advanced Functional Programming
Pages
68-114
Publisher
Springer Berlin Heidelberg
Description
Many functions have to be written over and over again for different datatypes, either because datatypes change during the development of programs, or because functions with similar functionality are needed on different datatypes. Examples of such functions are pretty printers, debuggers, equality functions, unifiers, pattern matchers, rewriting functions, etc. Such functions are called polytypic functions. A polytypic function is a function that is defined by induction on the structure of user-defined datatypes. This paper introduces polytypic functions, and shows how to construct and reason about polytypic functions. A larger example is studied in detail: polytypic functions for term rewriting and for determining whether a collection of rewrite rules is normalising.
Total citations
19961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202221118131357149101111712341321
Scholar articles
J Jeuring, P Jansson - International School on Advanced Functional …, 1996