Safe Haskell | None |
---|---|
Language | Haskell2010 |
Internal types to the library.
- data Env config = Env {
- envConfig :: !config
- envLogLevel :: !LogLevel
- envTerminal :: !Bool
- envReExec :: !Bool
- envManager :: !Manager
- envSticky :: !Sticky
- envSupportsUnicode :: !Bool
- class HasLogLevel r where
- getLogLevel :: r -> LogLevel
- class HasTerminal r where
- getTerminal :: r -> Bool
- class HasReExec r where
- class HasSupportsUnicode r where
- getSupportsUnicode :: r -> Bool
- newtype Sticky = Sticky {}
- class HasSticky r where
Documentation
Monadic environment.
Env | |
|
HasHttpManager (Env config) Source | |
HasBuildConfig config => HasBuildConfig (Env config) Source | |
HasConfig config => HasConfig (Env config) Source | |
HasGHCVariant config => HasGHCVariant (Env config) Source | |
HasPlatform config => HasPlatform (Env config) Source | |
HasStackRoot config => HasStackRoot (Env config) Source | |
HasEnvConfig config => HasEnvConfig (Env config) Source | |
HasSticky (Env config) Source | |
HasSupportsUnicode (Env config) Source | |
HasReExec (Env config) Source | |
HasTerminal (Env config) Source | |
HasLogLevel (Env config) Source | |
Monad m => MonadReader (Env config) (StackT config m) |
class HasLogLevel r where Source
getLogLevel :: r -> LogLevel Source
HasLogLevel LogLevel Source | |
HasLogLevel (Env config) Source |
class HasSupportsUnicode r where Source
getSupportsUnicode :: r -> Bool Source
HasSupportsUnicode (Env config) Source |