# SRFI 165: The Environment Monad

by Marc Nieper-Wißkirchen

status: final (2019-09-05)

keywords: Miscellaneous

## Abstract

Monads model computations. The environment monad models computations that depend on values from a shared environment. These computations can read values from the environment, pass values to subsequent computations, execute sub-computations in an extended environment, and modify the environment for future computations.