Hostname: page-component-89b8bd64d-9prln Total loading time: 0 Render date: 2026-05-10T12:52:49.174Z Has data issue: false hasContentIssue false

Uniqueness typing for functional languages with graph rewriting semantics

Published online by Cambridge University Press:  19 April 2018

Erik Barendsen
Affiliation:
Computing Science Institute, University of Nijmegen, Toernooiveld 1, 6525 ED Nijmegen, The Netherlands, Email erikb@cs.kun.nl, sjakie@cs.kun.nl
Sjaak Smetsers
Affiliation:
Computing Science Institute, University of Nijmegen, Toernooiveld 1, 6525 ED Nijmegen, The Netherlands, Email erikb@cs.kun.nl, sjakie@cs.kun.nl

Abstract

We present two type systems for term 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. Moreover, with respect to a graph rewriting semantics, both type systems turn out to be sound.

Information

Type
Research Article
Copyright
Copyright © Cambridge University Press 1996

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Article purchase

Temporarily unavailable