Iterator types

  • Authors:
  • Sandra Alves;Maribel Fernández;Mário Florido;Ian Mackie

  • Affiliations:
  • University of Porto, Department of Computer Science & LIACC, Porto, Portugal;King's College London, Department of Computer Science, London, UK;University of Porto, Department of Computer Science & LIACC, Porto, Portugal;King's College London, Department of Computer Science, London, UK and LIX, École Polytechnique, Palaiseau Cedex, France

  • Venue:
  • FOSSACS'07 Proceedings of the 10th international conference on Foundations of software science and computational structures
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

System L is a linear λ-calculus with numbers and an iterator, which, although imposing linearity restrictions on terms, has all the computational power of Gödel's System τ. System L owes its power to two features: the use of a closed reduction strategy (which permits the construction of an iterator on an open function, but only iterates the function after it becomes closed), and the use of a liberal typing rule for iterators based on iterative types. In this paper, we study these new types, and show how they relate to intersection types. We also give a sound and complete type reconstruction algorithm for System L.