A framework for point-free program transformation

The subject of this paper is functional program transformation in the so-called point-free style. By this we mean first translating programs to a form consisting only of categorically-inspired combinators, algebraic data types defined as fixed points of functors, and implicit recursion through the u...

ver descrição completa

Detalhes bibliográficos
Autor principal: Cunha, Alcino (author)
Outros Autores: Pinto, Jorge Sousa (author), Proença, José Miguel Paiva (author)
Formato: conferencePaper
Idioma:eng
Publicado em: 2006
Assuntos:
Texto completo:http://hdl.handle.net/1822/14350
País:Portugal
Oai:oai:repositorium.sdum.uminho.pt:1822/14350
Descrição
Resumo:The subject of this paper is functional program transformation in the so-called point-free style. By this we mean first translating programs to a form consisting only of categorically-inspired combinators, algebraic data types defined as fixed points of functors, and implicit recursion through the use of type-parameterized recursion patterns. This form is appropriate for reasoning about programs equationally, but difficult to actually use in practice for programming. In this paper we present a collection of libraries and tools developed at Minho with the aim of supporting the automatic conversion of programs to point-free (embedded in Haskell), their manipulation and rule-driven simplification, and the (limited) automatic application of fusion for program transformation.