Hostname: page-component-76d6cb85b7-6jg5l Total loading time: 0 Render date: 2026-07-16T11:47:09.405Z Has data issue: false hasContentIssue false

Unifying structured recursion schemes

An Extended Study

Published online by Cambridge University Press:  03 February 2016

RALF HINZE
Affiliation:
Department of Computer Science, University of Oxford, Oxford, UK (e-mail: ralf.hinze@cs.ox.ac.uk)
NICOLAS WU
Affiliation:
Department of Computer Science, University of Bristol, Bristol, UK (e-mail: nicolas.wu@bristol.ac.uk)
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the 'Save PDF' action button.

Folds and unfolds have been understood as fundamental building blocks for total programming, and have been extended to form an entire zoo of specialised structured recursion schemes. A great number of these schemes were unified by the introduction of adjoint folds, but more exotic beasts such as recursion schemes from comonads proved to be elusive. In this paper, we show how the two canonical derivations of adjunctions from (co)monads yield recursion schemes of significant computational importance: monadic catamorphisms come from the Kleisli construction, and more astonishingly, the elusive recursion schemes from comonads come from the Eilenberg–Moore construction. Thus, we demonstrate that adjoint folds are more unifying than previously believed.

Information

Type
Articles
Copyright
Copyright © Cambridge University Press 2016 
Submit a response

Discussions

No Discussions have been published for this article.