The use of monads to structure functional programs is described. Monads provide a convenient framework for simulating effects found in other languages, such as global state, exception handling, output, or nondeterminism. Three case studies are looked at in detail: how monads ease the modification of a simple evaluator; how monads act as the basis of a datatype of arrays subject to in-place update; and how monads can be used to build parsers.
CITATION STYLE
Wadler, P. (1993). Monads for functional programming (pp. 233–264). https://doi.org/10.1007/978-3-662-02880-3_8
Mendeley helps you to discover research relevant for your work.