Circular programs are a powerful technique to express multiple traversal algorithms as a single traversal function in a lazy setting. In this paper, we present a shortcut deforestation technique to calculate circular programs. The technique we propose takes as input the composition of two functions, such that the first builds an intermediate structure and some additional context information which are then processed by the second one, to produce the final result. Our transformation into circular programs achieves intermediate structure deforestation and multiple traversal elimination. Furthermore, the calculated programs preserve the termination properties of the original ones
AbstractAn algorithm that transforms programs to eliminate intermediate trees is presented. The algo...
Abstract. In functional programming it is common to write programs as com-position of other simpler ...
There are a number of approaches for eliminating intermediate data structures in functional programs...
Functional programs often combine separate parts using intermediate data structures for communicatin...
Lecture Notes in Computer Science Volume 8129, 2013.Shortcut fusion is a well-known optimization tec...
This paper presents techniques to model circular lazy programs in a strict, purely functional settin...
Circular functional programs (necessarily evaluated lazily) have been used as algorithmic tools, as ...
In functional programming, intermediate data structures are often used to “glue’) together small pro...
In lazy functional programs a data structure is often used to combine two separate parts of the prog...
We have designed Circular Reasoner, a package in Mathematica for the specification of functional pro...
Functional programmers are strong enthusiasts of modular solutions to programming problems. Since so...
We have designed Circular Reasoner, a package in Mathematica for the specification of functional pro...
ii In lazy functional programming modularity is often achieved by using intermediate data structures...
In lazy functional programming modularity is often achieved by using intermediate data structures to...
AbstractWadler's deforestation algorithm eliminates intermediate data structures from functional pro...
AbstractAn algorithm that transforms programs to eliminate intermediate trees is presented. The algo...
Abstract. In functional programming it is common to write programs as com-position of other simpler ...
There are a number of approaches for eliminating intermediate data structures in functional programs...
Functional programs often combine separate parts using intermediate data structures for communicatin...
Lecture Notes in Computer Science Volume 8129, 2013.Shortcut fusion is a well-known optimization tec...
This paper presents techniques to model circular lazy programs in a strict, purely functional settin...
Circular functional programs (necessarily evaluated lazily) have been used as algorithmic tools, as ...
In functional programming, intermediate data structures are often used to “glue’) together small pro...
In lazy functional programs a data structure is often used to combine two separate parts of the prog...
We have designed Circular Reasoner, a package in Mathematica for the specification of functional pro...
Functional programmers are strong enthusiasts of modular solutions to programming problems. Since so...
We have designed Circular Reasoner, a package in Mathematica for the specification of functional pro...
ii In lazy functional programming modularity is often achieved by using intermediate data structures...
In lazy functional programming modularity is often achieved by using intermediate data structures to...
AbstractWadler's deforestation algorithm eliminates intermediate data structures from functional pro...
AbstractAn algorithm that transforms programs to eliminate intermediate trees is presented. The algo...
Abstract. In functional programming it is common to write programs as com-position of other simpler ...
There are a number of approaches for eliminating intermediate data structures in functional programs...