A tutorial on the universality and expressiveness of fold. Hutton, G. Journal of Functional Programming, 9(4):355–372, July, 1999. Citation Key Alias: hutton1999
Paper doi abstract bibtex In functional programming, fold is a standard operator that encapsulates a simple pattern of recursion for processing lists. This article is a tutorial on two key aspects of the fold operator for lists. First of all, we emphasize the use of the universal property of fold both as a proof principle that avoids the need for inductive proofs, and as a definition principle that guides the transformation of recursive functions into definitions using fold. Secondly, we show that even though the pattern of recursion encapsulated by fold is simple, in a language with tuples and functions as first-class values the fold operator has greater expressive power than might first be expected.
@article{hutton_tutorial_1999,
title = {A tutorial on the universality and expressiveness of fold},
volume = {9},
issn = {1469-7653, 0956-7968},
url = {https://www.cambridge.org/core/journals/journal-of-functional-programming/article/tutorial-on-the-universality-and-expressiveness-of-fold/CDBAA53C7120E23CBBBE206FD47FDBAA},
doi = {10/dj73xm},
abstract = {In functional programming, fold is a standard operator that encapsulates a simple pattern of
recursion for processing lists. This article is a tutorial on two key aspects of the fold operator
for lists. First of all, we emphasize the use of the universal property of fold both as a proof
principle that avoids the need for inductive proofs, and as a definition principle that guides
the transformation of recursive functions into definitions using fold. Secondly, we show that
even though the pattern of recursion encapsulated by fold is simple, in a language with tuples
and functions as first-class values the fold operator has greater expressive power than might
first be expected.},
language = {en},
number = {4},
urldate = {2019-09-24},
journal = {Journal of Functional Programming},
author = {Hutton, Graham},
month = jul,
year = {1999},
note = {Citation Key Alias: hutton1999},
pages = {355--372}
}
Downloads: 0
{"_id":"fvKxHMjgb65qkytok","bibbaseid":"hutton-atutorialontheuniversalityandexpressivenessoffold-1999","authorIDs":[],"author_short":["Hutton, G."],"bibdata":{"bibtype":"article","type":"article","title":"A tutorial on the universality and expressiveness of fold","volume":"9","issn":"1469-7653, 0956-7968","url":"https://www.cambridge.org/core/journals/journal-of-functional-programming/article/tutorial-on-the-universality-and-expressiveness-of-fold/CDBAA53C7120E23CBBBE206FD47FDBAA","doi":"10/dj73xm","abstract":"In functional programming, fold is a standard operator that encapsulates a simple pattern of recursion for processing lists. This article is a tutorial on two key aspects of the fold operator for lists. First of all, we emphasize the use of the universal property of fold both as a proof principle that avoids the need for inductive proofs, and as a definition principle that guides the transformation of recursive functions into definitions using fold. Secondly, we show that even though the pattern of recursion encapsulated by fold is simple, in a language with tuples and functions as first-class values the fold operator has greater expressive power than might first be expected.","language":"en","number":"4","urldate":"2019-09-24","journal":"Journal of Functional Programming","author":[{"propositions":[],"lastnames":["Hutton"],"firstnames":["Graham"],"suffixes":[]}],"month":"July","year":"1999","note":"Citation Key Alias: hutton1999","pages":"355–372","bibtex":"@article{hutton_tutorial_1999,\n\ttitle = {A tutorial on the universality and expressiveness of fold},\n\tvolume = {9},\n\tissn = {1469-7653, 0956-7968},\n\turl = {https://www.cambridge.org/core/journals/journal-of-functional-programming/article/tutorial-on-the-universality-and-expressiveness-of-fold/CDBAA53C7120E23CBBBE206FD47FDBAA},\n\tdoi = {10/dj73xm},\n\tabstract = {In functional programming, fold is a standard operator that encapsulates a simple pattern of\nrecursion for processing lists. This article is a tutorial on two key aspects of the fold operator\nfor lists. First of all, we emphasize the use of the universal property of fold both as a proof\nprinciple that avoids the need for inductive proofs, and as a definition principle that guides\nthe transformation of recursive functions into definitions using fold. Secondly, we show that\neven though the pattern of recursion encapsulated by fold is simple, in a language with tuples\nand functions as first-class values the fold operator has greater expressive power than might\nfirst be expected.},\n\tlanguage = {en},\n\tnumber = {4},\n\turldate = {2019-09-24},\n\tjournal = {Journal of Functional Programming},\n\tauthor = {Hutton, Graham},\n\tmonth = jul,\n\tyear = {1999},\n\tnote = {Citation Key Alias: hutton1999},\n\tpages = {355--372}\n}\n\n","author_short":["Hutton, G."],"key":"hutton_tutorial_1999","id":"hutton_tutorial_1999","bibbaseid":"hutton-atutorialontheuniversalityandexpressivenessoffold-1999","role":"author","urls":{"Paper":"https://www.cambridge.org/core/journals/journal-of-functional-programming/article/tutorial-on-the-universality-and-expressiveness-of-fold/CDBAA53C7120E23CBBBE206FD47FDBAA"},"downloads":0},"bibtype":"article","biburl":"https://bibbase.org/zotero/k4rtik","creationDate":"2020-01-27T02:13:34.794Z","downloads":0,"keywords":[],"search_terms":["tutorial","universality","expressiveness","fold","hutton"],"title":"A tutorial on the universality and expressiveness of fold","year":1999,"dataSources":["Z5Dp3qAJiMzxtvKMq"]}