Hostname: page-component-7b7567c8c-kwt9d Total loading time: 0 Render date: 2026-11-14T22:06:09.318Z Has data issue: false hasContentIssue false

Two extensions of system Fwith (co)iteration and primitive(co)recursion principles

Published online by Cambridge University Press:  01 September 2009

Favio Ezequiel Miranda-Perea*
Affiliation:
Departamento de Matemáticas, Facultad de Ciencias UNAM, Circuito Exterior S/N. Ciudad Universitaria, 04510 México, D.F. México; favio@ciencias.unam.mx
Get access

Abstract

This paper presents two extensions of the second order polymorphiclambda calculus, system F, with monotone (co)inductive types supporting(co)iteration, primitive (co)recursion and inversion principles asprimitives. One extension is inspired by the usual categoricalapproach to programming by means of initial algebras and finalcoalgebras; whereas the other models dialgebras, and can be seen as an extension of Hagino'scategorical lambda calculus within the framework of parametricpolymorphism. The systems are presented in Curry-style, and are proven to be terminating andtype-preserving. Moreovertheir expressiveness is shown by means of several programmingexamples, going from usual data types to lazy codata types such as streamsor infinite trees.

Information

Type
Research Article
Copyright
© EDP Sciences, 2009

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