| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Stack.Types.Internal
Description
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.
Constructors
| Env | |
Fields
| |
Instances
| 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
Methods
getLogLevel :: r -> LogLevel Source
Instances
| HasLogLevel LogLevel Source | |
| HasLogLevel (Env config) Source | |
class HasTerminal r where Source
Methods
getTerminal :: r -> Bool Source
Instances
| HasTerminal (Env config) Source | |
class HasSupportsUnicode r where Source
Methods
getSupportsUnicode :: r -> Bool Source
Instances
| HasSupportsUnicode (Env config) Source | |