During the last two decades, monads have become an indispensable tool for structuring functional programs with computational effects. In this setting, the mathematical notion of a monad is extended with operations that allow programmers to manipulate these effects. When several effects are involved, monad transformers can be used to build up the required monad one effect at a time. Although this seems to be modularity nirvana, there is a catch: in addition to the construction of a monad, the effect-manipulating operations need to be lifted to the resulting monad. The traditional approach for lifting operations is non modular and ad-hoc. We solve this problem with a principled technique for lifting operations that makes monad transformers truly modular.
CITATION STYLE
Jaskelioff, M. (2009). Modular monad transformers. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 5502, pp. 64–79). https://doi.org/10.1007/978-3-642-00590-9_6
Mendeley helps you to discover research relevant for your work.