Utilize este identificador para referenciar este registo: https://hdl.handle.net/1822/2762

TítuloRecursion patterns and time-analysis
Autor(es)Barbosa, Manuel
Cunha, Alcino
Pinto, Jorge Sousa
Palavras-chaveFunctional programming
Time analysis
Recursion patterns
DataMai-2005
EditoraAssociation for Computing Machinery
RevistaACM SIGPLAN Notices
Citação"ACM Sigplan Notices". ISSN 0362-1340. 40:5 (2005) 45-54.
Resumo(s)This paper explores some ideas concerning the time-analysis of functional programs defined by instantiating typical recursion patterns such as folds, unfolds, and hylomorphisms. The concepts in this paper are illustrated through a rich set of examples in the Haskell programming language. We concentrate on unfolds and folds (also known as anamorphisms and catamorphisms respectively) of recursively defined types, as well as the more general hylomorphism pattern. For the latter, we use as case-studies two famous sorting algorithms, mergesort and quicksort. Even though time analysis is not compositional, we argue that splitting functions to expose the explicit construction of the recursion tree and its later consumption helps with this analysis.
TipoArtigo
URIhttps://hdl.handle.net/1822/2762
DOI10.1145/1071221.1071226
ISSN0362-1340
Arbitragem científicayes
AcessoAcesso aberto
Aparece nas coleções:HASLab - Artigos em revistas internacionais
DI/CCTC - Artigos (papers)

Ficheiros deste registo:
Ficheiro Descrição TamanhoFormato 
recpta-final.pdf269,34 kBAdobe PDFVer/Abrir

Partilhe no FacebookPartilhe no TwitterPartilhe no DeliciousPartilhe no LinkedInPartilhe no DiggAdicionar ao Google BookmarksPartilhe no MySpacePartilhe no Orkut
Exporte no formato BibTex mendeley Exporte no formato Endnote Adicione ao seu ORCID