vgrep-0.1.3.0: A pager for grep

Safe HaskellNone
LanguageHaskell2010

Vgrep.Environment

Contents

Synopsis

Documentation

data Environment Source #

VgrepT actions can read from the environment.

Constructors

Env 

Fields

Instances

Eq Environment Source # 
Show Environment Source # 
Monad m => MonadReader Environment (VgrepT s m) #

VgrepT can read from the Environment. Modifications to the enviromnent are only possible globally (see modifyEnvironment), the local environment is pure.

Methods

ask :: VgrepT s m Environment #

local :: (Environment -> Environment) -> VgrepT s m a -> VgrepT s m a #

reader :: (Environment -> a) -> VgrepT s m a #

Auto-generated Lenses

Re-exports