Sciweavers

AFP
1995
Springer

Merging Monads and Folds for Functional Programming

14 years 4 months ago
Merging Monads and Folds for Functional Programming
Abstract. These notes discuss the simultaneous use of generalised fold operators and monads to structure functional programs. Generalised fold operators structure programs after the decomposition of the value they consume. Monads structure programs after the computation of the value they produce. rams abstract both from the recursive processing of their input as well as from the side-e ects in computing their output. We show how generalised monadic folds aid in calculating an e cient graph reduction engine from an ine cient speci cation.
Erik Meijer, Johan Jeuring
Added 25 Aug 2010
Updated 25 Aug 2010
Type Conference
Year 1995
Where AFP
Authors Erik Meijer, Johan Jeuring
Comments (0)