Modular Monadic Reasoning, a (Co-)Routine


Keuchel, Steven and Schrijvers, Tom.
Implementation and Application of Functional Languages, 24th Symposium, Pre-Proceedings.
Hinze, Ralf, eds.
2012.

Abstract

Higher-order functions that are polymorphic in a monad make highly flexible modular components. Unfortunately, the combination of an unknown function parameter and a polymorphic monad are detrimental to reasoning. This paper shows how to eliminate both the function parameter and the polymorphism. The resulting characterization is amenable to reasoning. The approach is based on a judicious combination of the coroutine monad transformer and monad morphisms.

BibTeX

@inproceedings{ifl2012_b,
  author = {Keuchel, Steven and Schrijvers, Tom},
  editor = {Hinze, Ralf},
  booktitle = {Implementation and Application of Functional Languages, 24th Symposium, Pre-Proceedings},
  title = {Modular Monadic Reasoning, a (Co-)Routine},
  year = {2012},
  url = {/Research/papers/ifl2012_b.pdf},
  abstract = {Higher-order functions that are polymorphic in a monad make highly flexible modular
components. Unfortunately, the combination of an unknown function parameter and
a polymorphic monad are detrimental to reasoning. This paper shows how to
eliminate both the function parameter and the polymorphism. 
The resulting characterization is amenable to reasoning.

The approach is based on a judicious combination of the coroutine monad
transformer and monad morphisms.
  },
}