Erik Barendsen , Sjaak Smetsers
July 1995
Proceedings of the 1995 Glasgow Workshop on Functional Programming (FP)
Functional Programming
10-12 July 1995
We present two type systems for graph rewriting: conventional typing and (polymorphic) uniqueness typing. The latter is introduced as a natural extension of simple algebraic and higher-order uniqueness typing. The systems are given in natural deduction style using an inductive syntax of graph denotations with familiar constructs such as let and case.
The conventional system resembles traditional Curry-style typing systems in functional programming languages. Uniqueness typing extends this with reference count information. In both type systems, typing is preserved during evaluation, and types can be determined effectively.
Due to the present formalization, the system can easily be compared with other proposals based on linear and affine logic.
This work is licensed under a Creative Commons Attribution 4.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/