Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Environment = Env {}
- data Viewport = Viewport {}
- config :: Lens' Environment Config
- viewport :: Lens' Environment Viewport
- vpHeight :: Lens' Viewport Int
- vpWidth :: Lens' Viewport Int
- viewportWidth :: Lens' Environment Int
- viewportHeight :: Lens' Environment Int
- module Vgrep.Environment.Config
Documentation
data Environment Source #
VgrepT
actions can read from the environment.
Instances
Eq Environment Source # | |
Defined in Vgrep.Environment (==) :: Environment -> Environment -> Bool # (/=) :: Environment -> Environment -> Bool # | |
Show Environment Source # | |
Defined in Vgrep.Environment showsPrec :: Int -> Environment -> ShowS # show :: Environment -> String # showList :: [Environment] -> ShowS # | |
Monad m => MonadReader Environment (VgrepT s m) Source # |
|
Defined in Vgrep.Type ask :: VgrepT s m Environment # local :: (Environment -> Environment) -> VgrepT s m a -> VgrepT s m a # reader :: (Environment -> a) -> VgrepT s m a # |
The bounds (width and height) of a display viewport.
Auto-generated Lenses
Convenience Lenses
Re-exports
module Vgrep.Environment.Config