yam-0.5.5: Yam Web

Safe HaskellNone
LanguageHaskell2010

Yam.Types.Env

Documentation

data AppConfig Source #

Constructors

AppConfig 

Fields

Instances
Eq AppConfig Source # 
Instance details

Defined in Yam.Types.Env

Show AppConfig Source # 
Instance details

Defined in Yam.Types.Env

FromJSON AppConfig Source # 
Instance details

Defined in Yam.Types.Env

Default AppConfig Source # 
Instance details

Defined in Yam.Types.Env

Methods

def :: AppConfig #

data Env Source #

Instances
Default Env Source # 
Instance details

Defined in Yam.Types.Env

Methods

def :: Env #

MonadReader Env App Source # 
Instance details

Defined in Yam.Types

Methods

ask :: App Env #

local :: (Env -> Env) -> App a -> App a #

reader :: (Env -> a) -> App a #

getAttr :: Key a -> Env -> Maybe a Source #

reqAttr :: Default a => Key a -> Env -> a Source #

setAttr :: Key a -> a -> Env -> Env Source #