snap-app-0.3.2: Simple modules for writing apps with Snap, abstracted from hpaste.

Safe HaskellSafe-Inferred

Control.Monad.Env

Description

Abstraction of environment functions (could be state, could be reader, whatever). Intended to ease migration from Reader/State.

Documentation

env :: MonadReader env m => (env -> val) -> m valSource