Abstract
We describe how to perform monadic computations over recursive data structures with fine grained control over the evaluation strategy. This solves the issue that the definition of a recursive monadic function already determines the evaluation strategy due to the necessary sequencing of the monadic operations. We show that compositional data types already provide the structure needed in order to delay monadic computations at any point of the computation.
Originalsprog | Udefineret/Ukendt |
---|---|
Titel | Proceedings of the 23rd Nordic Workshop on Programming Theory |
Redaktører | Paul Pettersson, Cristina Seceleanu |
Antal sider | 3 |
Publikationsdato | 1 okt. 2011 |
Sider | 38-40 |
Status | Udgivet - 1 okt. 2011 |
Emneord
- monads,tree transformations,evaluation strategies,Haskell,generic programming