Incremental Inference of Partial Types

  • Authors:
  • Mario Coppo;Daniel Hirschkoff

  • Affiliations:
  • -;-

  • Venue:
  • ICTCS '01 Proceedings of the 7th Italian Conference on Theoretical Computer Science
  • Year:
  • 2001

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present a type inference procedure with partial types for a 驴-calculus equipped withda tatypes. Our procedure handles a type language containing greatest and least types (驴 and 驴 respectively), recursive types, subtyping, and datatypes (yielding constants at the level of terms). The main feature of our algorithm is incrementality; this allows us to progressively analyse successive definitions, which is of interest in the setting of a system like the CuCh machine (developed at the University of Rome). The methods we describe have led to an implementation; we illustrate its use on a few examples.