2013
DOI: 10.1145/2544174.2500578
|View full text |Cite
|
Sign up to set email alerts
|

Unifying structured recursion schemes

Abstract: Folds over inductive datatypes are well understood and widely used. In their plain form, they are quite restricted; but many disparate generalisations have been proposed that enjoy similar calculational benefits. There have also been attempts to unify the various generalisations: two prominent such unifications are the 'recursion schemes from comonads' of Uustalu, Vene and Pardo, and our own 'adjoint folds'. Until now, these two unified schemes have appeared incompatible. We show that this appearance is illuso… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1

Citation Types

0
23
0

Year Published

2013
2013
2023
2023

Publication Types

Select...
3
2
1

Relationship

1
5

Authors

Journals

citations
Cited by 14 publications
(23 citation statements)
references
References 24 publications
0
23
0
Order By: Relevance
“…In summary, recursion schemes fall into three categories: catamorphisms ('folding'), anamorphisms ('unfolding') and hylomorphisms ('refolding'). A menagerie of roughly 20 (not by any means exhaustive) variants on these basic patterns have been identified, including zygomorphisms, futumorphisms, chronomorphisms, and Elgot (co)algebras [12]. Some of these variants offer the potential for induced recursive functions which are 'efficient by construction'.…”
Section: Other Recursion Schemesmentioning
confidence: 99%
“…In summary, recursion schemes fall into three categories: catamorphisms ('folding'), anamorphisms ('unfolding') and hylomorphisms ('refolding'). A menagerie of roughly 20 (not by any means exhaustive) variants on these basic patterns have been identified, including zygomorphisms, futumorphisms, chronomorphisms, and Elgot (co)algebras [12]. Some of these variants offer the potential for induced recursive functions which are 'efficient by construction'.…”
Section: Other Recursion Schemesmentioning
confidence: 99%
“…For the proof of this fact we refer to [7]. Now, if a is in, the action of the initial algebra, the homomorphism h is uniquely defined, and hence f , as well.…”
Section: Recursion Schemes From Comonadsmentioning
confidence: 99%
“…That paper also provides an implementation of various recursion schemes in Haskell although it does not make use of type class synonyms, since it predates that work. The correspondence between histomorphisms and recursion schemes from comonads is a direct application of the work in [7], which further explores the relationship between recursion schemes from comonads and the adjoint folds that were developed in [5].…”
Section: Related Workmentioning
confidence: 99%
See 1 more Smart Citation
“…By rewriting safe as a composition of an unfold and an (implicit) foldr, our prototype can detect the foldr over the tree generated by the unfold. safe may alternatively be considered an instance of a zygomorphism[28], it may therefore be worth investigating this pattern as part of our future work. Another function, pargen, enumerates the different possible locations of the queens on the board.1 This is because in the original definition of safe, d is updated between recursive calls meaning a standard foldr is not equivalent (Def.…”
mentioning
confidence: 99%